Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Ivkeee poslato Decembar 10, 2010, 11:29:08 PRE PODNE

Naslov: [Pomoc] Linija 5103
Poruka od: Ivkeee poslato Decembar 10, 2010, 11:29:08 PRE PODNE
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?
Naslov: Odg: [Pomoc] Linija 5103
Poruka od: TiXoR_ poslato Decembar 10, 2010, 11:36:55 PRE PODNE
Izbriši cijeli OnPlayerPrivMessage jer se tko ne koristi u novijim SA:MP verzijama.. ;)
Naslov: Odg: [Pomoc] Linija 5103
Poruka od: Ivkeee poslato Decembar 10, 2010, 12:38:51 POSLE PODNE
Nece , obriso sam
Naslov: Odg: [Pomoc] Linija 5103
Poruka od: BloodMaster poslato Decembar 10, 2010, 13:41:22 POSLE PODNE
izbrisi ovo:

public OnPlayerPrivMessage(playerid)
{
return 1;
}
Naslov: Odg: [Pomoc] Linija 5103
Poruka od: Ivkeee poslato Decembar 10, 2010, 21:20:55 POSLE PODNE
Nemam tako , imam ovako: public OnPlayerPrivMsg(playerid) 

return 1; 

Hvala puno , obrisao sam , radi.
:lock:
Naslov: Odg: [Pomoc] Linija 5103
Poruka od: Vedran_Car HR poslato Decembar 10, 2010, 21:31:05 POSLE PODNE
Mislim da moras napraviti forward