[hELP!] Dialog skin Input before spawn!
#9

As @Mencent said... This should work:
If it doesn't, tell me what is the exact problem.
pawn Код:
if(dialogid == Skin)
    {
        if(response)
        {
            new skinid, message[64];
            skinid = strval(inputtext);
            if(skinid < 0 || skinid > 299)
            {
                SendClientMessage(playerid, 0x33FF33AA, "Error: Choose a skin ID between 0 and 299.");
                Kick(playerid);
            }
            else
            {
                format(message, sizeof(message), "You have successfully changed your skin id to %d.", skinid);
                SendClientMessage(playerid, 0x33FF33AA, message);
                SetSpawnInfo(playerid,0,skinid,2239.723, -1261.922, 23.9375,270.7165,0,0,0,0,0,0);
                SpawnPlayer(playerid);
            }
        }
    }
Reply


Messages In This Thread
[hELP!] Dialog skin Input before spawn! - by Chausar - 15.04.2015, 13:31
Re: [hELP!] Dialog skin Input before spawn! - by BleverCastard - 15.04.2015, 15:02
Re: [hELP!] Dialog skin Input before spawn! - by Chausar - 15.04.2015, 15:32
AW: [hELP!] Dialog skin Input before spawn! - by Mencent - 15.04.2015, 15:37
Re: [hELP!] Dialog skin Input before spawn! - by Jimmy0wns - 15.04.2015, 16:02
Re: [hELP!] Dialog skin Input before spawn! - by fuckingcruse - 15.04.2015, 16:04
Re: [hELP!] Dialog skin Input before spawn! - by Chausar - 15.04.2015, 22:42
Re: [hELP!] Dialog skin Input before spawn! - by Chausar - 16.04.2015, 06:57
Re: [hELP!] Dialog skin Input before spawn! - by Ahmad45123 - 17.04.2015, 00:16
Re: [hELP!] Dialog skin Input before spawn! - by Chausar - 17.04.2015, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)