[HELP]call this function
#1

I created this function to choose the skin only when it leads me to the selection of class I skin appears under the bar, why?

Код:
YCMD:skin(playerid, params[], help)
{
    #pragma unused params
    #pragma unused help
    CallLocalFunction("OnPlayerRequestClass","d",playerid);
    return 1;
}
Reply
#2

uh ?
Reply
#3

ForceClassSelection?
Reply
#4

NO,
Call OnPlayerRequestClass for selection skin, but not appear bar...
Reply
#5

uh ?
Reply
#6

so ?
Reply
#7

If you want just to call OnPlayerRequestClass use:
pawn Код:
OnPlayerRequestClass(playerid,0); // 0 as the classid
Or, if you want to return the player to the class selection, use
pawn Код:
ForcePlayerClassSelection(playerid);
SetPlayerHealth(playerid,0.0);
Reply
#8

thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)