Warning i dont know how to get rid of.
#1

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

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));
Reply
#3

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
Reply
#4

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

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

Ahhaa! thanks, forgot to do that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)