23.11.2012, 13:15
I have
but it sends them "%s has changed their clothes" and "You need to be at the changing rooms!" and changes their clothes wherever they are.. how can i fix this?
pawn Код:
if(!strcmp("/setskin 300",cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 366.9479,-1861.7313,22.8316))
SetPlayerSkin(playerid, 299);
GivePlayerMoney(playerid, -10);
new string[250];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
format(string,sizeof(string),"%s has changed their clothes",Name);
SendClientMessageToAll(0x33AA33AA, string);
{
SendClientMessage(playerid,0xFFFFFFFF,"You need to be at the changing rooms!");
}
return 1;
