Error ?
#1

Whats wrong with this ?

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, -783.8918,3780.3577,2254.1079 && Reeactors[playerid] = 0))
Reply
#2

What is the Error?
Reply
#3

pawn Код:
C:\Users\wner\Desktop\XF-RP(Win32)\gamemodes\EXE29.pwn(54413) : error 022: must be lvalue (non-constant)
C:\Users\wner\Desktop\XF-RP(Win32)\gamemodes\EXE29.pwn(54413) : warning 215: expression has no effect
C:\Users\wner\Desktop\XF-RP(Win32)\gamemodes\EXE29.pwn(54413) : error 001: expected token: ";", but found ")"
C:\Users\wner\Desktop\XF-RP(Win32)\gamemodes\EXE29.pwn(54413) : error 029: invalid expression, assumed zero
C:\Users\wner\Desktop\XF-RP(Win32)\gamemodes\EXE29.pwn(54413) : fatal error 107: too many error messages on one line
Reply
#4

You're missing a closing parenthesis on IsPlayerInRangeOfPoint. Also, you should use == for comparison in the second part.

Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, -783.8918,3780.3577,2254.1079) && Reeactors[playerid] == 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)