GetPlayerSkinID? +Rep
#8

Why would you need a timer for this? Surely just adding GetPlayerSkin into a format would do the trick?
Код:
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");
}
A timer is a very inefficient way to go about this.
Reply


Messages In This Thread
GetPlayerSkinID? +Rep - by Rodri99 - 20.06.2015, 09:07
Re: GetPlayerSkinID? +Rep - by SloProKiller - 20.06.2015, 09:41
Re: GetPlayerSkinID? +Rep - by Rodri99 - 20.06.2015, 09:44
Re: GetPlayerSkinID? +Rep - by UltraScripter - 20.06.2015, 09:48
Re: GetPlayerSkinID? +Rep - by AndySedeyn - 20.06.2015, 09:54
Re: GetPlayerSkinID? +Rep - by Rodri99 - 20.06.2015, 09:56
Re: GetPlayerSkinID? +Rep - by UltraScripter - 20.06.2015, 10:02
Re: GetPlayerSkinID? +Rep - by SloProKiller - 20.06.2015, 12:17
Re: GetPlayerSkinID? +Rep - by Konstantinos - 20.06.2015, 12:42
Re: GetPlayerSkinID? +Rep - by SloProKiller - 20.06.2015, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)