06.05.2012, 12:27
(
Последний раз редактировалось iOmar; 07.05.2012 в 03:13.
Причина: Changing Title
)
Guys i did this.
In game i want that player color in change will remain same as team. if his team is Germany (orange colour) than it will remain orange during chat. but his map icon change to blue (which is USA team colour). And when he kill by some one or commit sucide than his skin and colour will change back (normal)...
Please i need help....
pawn Код:
CMD:spyusa(playerid,parmas[])
{
if(gPlayerClass[playerid] == SPY)
{
SetPlayerSkin(playerid,287);
SetPlayerColor(playerid,COLOR_BLUE);
}
else
{
SendClientMessage(playerid,COLOR_DARKRED,"ERROR: You need to get SPY Class to use this Command");
}
return 1;
}
Please i need help....