SA-MP Forums Archive
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=473343)



Help me please. - Gogorakis - 02.11.2013

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




Re: Help me please. - SAMProductions - 02.11.2013

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



Re: Help me please. - Patrick - 02.11.2013

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


Re: Help me please. - Ada32 - 02.11.2013

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