#1

Код:
CMD:startpaint(playerid)
{
	SetPlayerHealth(playerid, 50);
    SendClientMessage(playerid, COLOR_RED, "Follow the checkpoints to continue painting.");
	SendClientMessage(playerid, COLOR_RED, "You now have started painting.");
	SetPlayerCheckpoint(playerid, 206.6469, -238.1338, 1.5781, 3.0);
	return 1;
}
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 195.8659, -237.8371, 1.5781))
    {
    	SendClientMessage(playerid,COLOR_RED,"basic test");
    }
}
C:\Users\Astro\Desktop\Server1\gamemodes\hi.pwn(17 5) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Try this:
PHP код:
CMD:startpaint(playerid)
{
    
SetPlayerHealth(playerid50);
    
SendClientMessage(playeridCOLOR_RED"Follow the checkpoints to continue painting.");
    
SendClientMessage(playeridCOLOR_RED"You now have started painting.");
    
SetPlayerCheckpoint(playerid206.6469, -238.13381.57813.0);
    
    if(
IsPlayerInRangeOfPoint(playerid3.0195.8659, -237.83711.5781))
    {
        
SendClientMessage(playerid,COLOR_RED,"basic test");
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)