24.12.2018, 05:17
How do I send a message to the playerid saying "You have set _____'s skin to ___." in this cmd?
PHP код:
CMD:setskin(playerid, params[])
{
new targetid, skinid;
if(sscanf(params, "ii", targetid, skinid))
return SendClientMessage(playerid, -1, "[USAGE]: /setskin [playerid] [skinid]");
SetPlayerSkin(targetid, skinid);
SendClientMessage(playerid, -1, "You have set %s's skin id to %i."); //this is the line i need help with
return 1;
}