03.09.2013, 16:36
Hello i have command skin :
And i have locked skin id 300 so i used /skin 300 for test and my pc are freeze and my game please help me .
PHP код:
COMMAND:skin(playerid, params[])
{
new string[128];
new skinid;
if(sscanf(params, "d", skinid)) return SendClientMessage(playerid,gris,"Usage : /skin [id]");
SetPlayerSkin(playerid,skinid);
format(string, sizeof(string), "You have set your skin ID to %d", skinid);
SendClientMessage(playerid,gris, string);
GetPlayerSkin(playerid);
if(skinid == 300)
{
SendClientMessage(playerid,gris,"Non");
}
return 1;
}