Paint
#1

Hello! I have problems with paint system.
Код:
if(PlayerInfo[playerid][pPaintBallG] > 0)
 	{
  		new string [128],sendername[30];
    	GetPlayerName(playerid, sendername, sizeof(sendername));
		foreach(Player, i)
		{
  			if(PlayerInfo[i][pPaintBallG] == PlayerInfo[playerid][pPaintBallG])
	    	{
      			format(string,sizeof(string),"%s has left the paintball arena.", sendername);
	        	SendClientMessage(i, COLOR_YELLOW, string);
			}
		}
		curatj[playerid] = 0;
		for (new i = 0; i != 5; ++i) SendDeathMessageToPlayer(playerid, 1001, 1001, 1001);
		PlayerTextDrawHide(playerid, PaintBallText[playerid]);
		SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
		paintp[PlayerInfo[playerid][pPaintBallG]]--;
  		PlayerInfo[playerid][pPaintBallG] = 0;
    	PlayerInfo[playerid][pPaintBallKills] = 0;
    	PlayerInfo[playerid][pPaintBallVoted] = 0;
    	PlayerInfo[playerid][pPaintBallVoted2] = 0;
     	ResetPlayerWeaponsEx(playerid);
	    ResetPlayerWeapons(playerid);
	    SetPlayerArmourEx(playerid, 0);
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid,0);
	    SetPlayerToTeamColor(playerid);
	    SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
	    SetPlayerPos(playerid, 1154.4122,-1440.0548,15.7969);
	}
Error's
Код:
error 017: undefined symbol "ResetPlayerWeaponsEx"
error 017: undefined symbol "SetPlayerArmourEx"
error 017: undefined symbol "SetPlayerToTeamColor"
error 017: undefined symbol "string"
error 017: undefined symbol "string"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Paint - by MariusAdv - 01.03.2018, 06:08
Re: Paint - by Jithu - 01.03.2018, 06:17
Re: Paint - by Jithu - 01.03.2018, 06:29
Re: Paint - by MariusAdv - 01.03.2018, 06:31
Re: Paint - by Jithu - 01.03.2018, 06:34
Re: Paint - by Jithu - 01.03.2018, 06:37
Re: Paint - by Jithu - 01.03.2018, 06:39
Re: Paint - by MariusAdv - 01.03.2018, 06:39
Re: Paint - by MariusAdv - 01.03.2018, 06:43
Re: Paint - by Jithu - 01.03.2018, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)