Command Problem
#1

Hello. I wrote a simple command, but when I compile the code it shows me - error 001: expected token: ")", but found "-identifier-" at line 41637. This is the code

Код:
if(strcmp(cmd, "/getuniform", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	{
	    if (IsPlayerInRangeOfPoint(playerid, 255.3859,76.9326,1003.6406,297.0429,0,0,0,0,0,0)
	    
           SetPlayerSkin(playerid, 280);
	    }
	    return 1;
	    }
SetPlayerSkin(playerid, 280); is line 41637. I know, it tells me that I didn't put ")" somewhere, but I don't see where to put it..? :\
Reply
#2

pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 255.3859,76.9326,1003.6406,297.0429,0,0,0,0,0,0))
Replace this with your line.
Reply
#3

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5, 255.3859, 76.9326, 1003.6406))
Reply
#4

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 255.3859,76.9326,1003.6406,297.0429,0,0,0,0,0,0))
Replace this with your line.
Problem solved. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)