Wrong -.- I cant fix this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Wrong -.- I cant fix this (
/showthread.php?tid=524533)
Wrong -.- I cant fix this -
arlindi - 07.07.2014
PHP код:
if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
{
new Admin[24] = "Anti-cheat";
new reason3[128] = "Jetpack";
BanPlayer(i,reason3,Admin);
}
Error's
PHP код:
C:\Users\Arlindi\Desktop\fsdf - Copy\gamemodes\zGM.pwn(701) : error 017: undefined symbol "playerid"
C:\Users\Arlindi\Desktop\fsdf - Copy\gamemodes\zGM.pwn(701) : error 029: invalid expression, assumed zero
C:\Users\Arlindi\Desktop\fsdf - Copy\gamemodes\zGM.pwn(701 -- 702) : error 029: invalid expression, assumed zero
C:\Users\Arlindi\Desktop\fsdf - Copy\gamemodes\zGM.pwn(701 -- 702) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Re: Wrong -.- I cant fix this -
RenovanZ - 07.07.2014
Change this
pawn Код:
if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
To this:
pawn Код:
if(pInfo[i][pAdminLevel] < 1 && (GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK))
Re: Wrong -.- I cant fix this -
Jack_Leslie - 07.07.2014
Edit: to late