Help me please - 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: Help me please (
/showthread.php?tid=397363)
Help me please -
Morkano - 04.12.2012
Quote:
D:\Server\gamemodes\gs.pwn(1070) : error 076: syntax error in the expression, or invalid function call
D:\Server\gamemodes\gs.pwn(1070) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
|
i need help
problem in 1070
Re: Help me please -
Bicentric - 04.12.2012
Quote:
Originally Posted by Morkano
i need help
problem in 1070
|
You're not using brackets, how will just using 'IsPlayerAdmin' know what to check?
You need to change it to something a long the lines of 'if(IsPlayerAdmin(playerid))', keep 'playerid' the same or replace with the variable what is assigned to the player.