SA-MP Forums Archive
Warning i dont know how to get rid of. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warning i dont know how to get rid of. (/showthread.php?tid=147337)



Warning i dont know how to get rid of. - ReactionGameServers - 11.05.2010

Hey,

How do i get rid of this warning ?

Код:
C:\Users\Joe\Desktop\Sa-mp Test server\logical roleplay\gamemodes\logicalroleplay.pwn(17026) : warning 202: number of arguments does not match definition
Here is the line :

pawn Код:
if(!PlayerToPoint(2.0, playerid, 2392.6604,-2008.5042,13.5537) || !PlayerToPoint(2.0, playerid, 2392.6604,1423.0389,-1319.1559,13.5547))
thanks.


Re: Warning i dont know how to get rid of. - BigM - 11.05.2010

I think your forgot ; at end of the line

pawn Код:
if(!PlayerToPoint(2.0, playerid, 2392.6604,-2008.5042,13.5537) || !PlayerToPoint(2.0, playerid, 2392.6604,1423.0389,-1319.1559,13.5547));



Re: Warning i dont know how to get rid of. - ReactionGameServers - 11.05.2010

Quote:
Originally Posted by BigM
I think your forgot ; at end of the line

pawn Код:
if(!PlayerToPoint(2.0, playerid, 2392.6604,-2008.5042,13.5537) || !PlayerToPoint(2.0, playerid, 2392.6604,1423.0389,-1319.1559,13.5547));
nope just gets me more errors and still got the warning


Re: Warning i dont know how to get rid of. - Fj0rtizFredde - 11.05.2010

You got one cord to much :P delete the ,13.5547 at the end of the line :P


Re: Warning i dont know how to get rid of. - ¤Adas¤ - 11.05.2010

pawn Код:
if(!PlayerToPoint(2.0, playerid, 2392.6604, -2008.5042, 13.5537) || !PlayerToPoint(2.0, playerid, 2392.6604, 1423.0389, -1319.1559))



Re: Warning i dont know how to get rid of. - ReactionGameServers - 11.05.2010

Ahhaa! thanks, forgot to do that.