20.06.2015, 12:17
Why would you need a timer for this? Surely just adding GetPlayerSkin into a format would do the trick?
A timer is a very inefficient way to go about this.
Код:
if(listid == skinlist) { if(response) { new tmpString[128]; SetPlayerSkin(playerid, modelid); format(tmpString, sizeof(tmpString), "- Skin successufly changed to ID: %d for 200$ -", GetPlayerSkin(playerid)); SendClientMessage(playerid, green, tmpString); GivePlayerMoney(playerid, -200); } else SendClientMessage(playerid, red, "Skin selection aborted"); }