01.03.2018, 06:08
Hello! I have problems with paint system.
Error's
Код:
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 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