GetPVarInt Wierd error - 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: GetPVarInt Wierd error (
/showthread.php?tid=473658)
GetPVarInt Wierd error -
DarkLored - 03.11.2013
Hello i made
a command and this code has errors
here is the code:
pawn Код:
if(GetPVarInt(playerid, "JailTime") != 0) && crand >= 50)
Here is the errors:
Код:
C:\Users\TOSHIBANET\Documents\Photoshop Documents\TeamDeathMatch\gamemodes\CNR.pwn(2136) : error 029: invalid expression, assumed zero
C:\Users\TOSHIBANET\Documents\Photoshop Documents\TeamDeathMatch\gamemodes\CNR.pwn(2136) : warning 215: expression has no effect
C:\Users\TOSHIBANET\Documents\Photoshop Documents\TeamDeathMatch\gamemodes\CNR.pwn(2136) : error 001: expected token: ";", but found ")"
C:\Users\TOSHIBANET\Documents\Photoshop Documents\TeamDeathMatch\gamemodes\CNR.pwn(2136) : error 029: invalid expression, assumed zero
C:\Users\TOSHIBANET\Documents\Photoshop Documents\TeamDeathMatch\gamemodes\CNR.pwn(2136) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: GetPVarInt Wierd error -
Londlem - 03.11.2013
if(GetPVarInt(playerid, "JailTime") != 0 && crand >= 50)
Re: GetPVarInt Wierd error -
DarkLored - 03.11.2013
[EDIT]Never mind i fixed it thanks for the help