[Pomoc] Linija 5103

Započeo Ivkeee, Decembar 10, 2010, 11:29:08 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

E ovako imam problem , sta znaci ovaj eror?

D:\[nebitno]\Server\gamemodes\gf.pwn(26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:           5904 bytes
Code size:          1100348 bytes
Data size:          4429512 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5552148 bytes


1 Warning.

evo kako izgleda ta linija

if(PlayerStoned[i] >= 2)
{
       PlayerStoned[i] += 1;
   if(PlayerStoned[i] == 10)
   {
       PlayerStoned[i] = 2;
       new Float:angle;
GetPlayerFacingAngle(i, angle);
if(IsPlayerInAnyVehicle(i))
{
   if(GetPlayerState(i) == 2)
   {
    SetVehicleZAngle(GetPlayerVehicleID(i), angle + 25);
}
}
else
{
   SetPlayerFacingAngle(i, angle + 90);
(linija 5103)      }
   }
}
if(PlayerInfo[i][pCarTime] > 0)
{
   if(PlayerInfo[i][pCarTime] <= 0)
   {
       PlayerInfo[i][pCarTime] = 0;
   }
   else
   {
       PlayerInfo[i][pCarTime] -= 1;
   }
}
if(BoxWaitTime[i] > 0)
{

Sta tu ne valja?
Poslednja Izmena: Decembar 10, 2010, 11:30:10 PRE PODNE od [BM]Ivan_Ilic

Izbriši cijeli OnPlayerPrivMessage jer se tko ne koristi u novijim SA:MP verzijama.. ;)


izbrisi ovo:

public OnPlayerPrivMessage(playerid)
{
return 1;
}

Nemam tako , imam ovako: public OnPlayerPrivMsg(playerid) 

return 1; 

Hvala puno , obrisao sam , radi.
:lock: