mSelection not working:
#9

Alright. I added a line to OnPlayerModelSelection callback, a print line, in order to debug. The result? It didn't print.

pawn Код:
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
    new string[35];
    print("OnPlayerModelSelection works"); //doesn't print

    if(listid == skinlist)
    {
        if(response)
        {
            format(string, 30, "{3685BA}SERVER: {FFFFFF}You have set your skin to ID %d!", modelid);
            SendClientMessage(playerid, -1, string);
            SetPlayerSkin(playerid, modelid);
            return 1;
        }

        else SendClientMessage(playerid, -1, "{3685BA}SERVER: {FFFFFF}You must select a skin.");
        ShowModelSelectionMenu(playerid, skinlist, "Skin Selection");
        return 1;
    }
   
    return 1;
}
Reply


Messages In This Thread
mSelection not working: - by Twizted - 30.06.2014, 08:11
Re: mSelection not working: - by SupaVZ - 30.06.2014, 08:54
Re: mSelection not working: - by LivingLikeYouDo - 30.06.2014, 09:24
Re: mSelection not working: - by Twizted - 30.06.2014, 09:52
Re: mSelection not working: - by LivingLikeYouDo - 30.06.2014, 09:58
Re: mSelection not working: - by Twizted - 30.06.2014, 10:11
Re: mSelection not working: - by R0 - 30.06.2014, 10:38
Re: mSelection not working: - by LivingLikeYouDo - 30.06.2014, 10:39
Re: mSelection not working: - by Twizted - 30.06.2014, 10:50
Re: mSelection not working: - by LivingLikeYouDo - 30.06.2014, 11:12

Forum Jump:


Users browsing this thread: 2 Guest(s)