Help me please.
#1

Hi SA:MP,
I have a driveby cmd.I found 4 errors...

Quote:

C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : error 001: expected token: ",", but found "."
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Here is the bugged line:

Quote:

if (IsPlayerInRangeOfPoint(playerid, 2.0, 12.14.691772, -903.268920, 42.920112)) //BSN

Reply
#2

You forgot ";" at the End of the Line,

Try This:

Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 12.14.691772, -903.268920, 42.920112)); //BSN
and Why this Code has 2 Dots ?

Код:
12.14.691772
I think it must only have 1 Dot.

Like:

Код:
12.691772
or

Код:
14.691772
Reply
#3

You forgot an ; at the end
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 12.14.691772, -903.268920, 42.920112)); //BSN
Too late, fuck
Reply
#4

yea, this -> '12.14.691772' isn't a number.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)