GetPVarInt Wierd error
#1

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.
Reply
#2

if(GetPVarInt(playerid, "JailTime") != 0 && crand >= 50)
Reply
#3

[EDIT]Never mind i fixed it thanks for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)