F4 button - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: F4 button (
/showthread.php?tid=302179)
F4 button -
vassilis - 07.12.2011
Em guys a question how i can disable the f4 button i mean the player must press a command to choose class instead of typing "f4"and /kill
Cheers.
Re: F4 button -
Joe Staff - 07.12.2011
Just spawn them when they reach the class selection menu unless they used the command previously
Re: F4 button -
Zonoya - 07.12.2011
Joe Wouldn't that spawn them when they connect xD
Re: F4 button -
vassilis - 07.12.2011
no i mean when he is playing not when he connect and he choose skin...i mean when he has already started playing and he want to change skin again ..must press /reclass(example) instead of "f4"and /kill
Re: F4 button -
grand.Theft.Otto - 07.12.2011
pawn Код:
if(!strcmp(cmdtext, "/reclass", true, 8))
{
ForceClassSelection(playerid);
SetPlayerHealth(playerid,0);
SendClientMessage(playerid,-1,"Sent To Class Selection ... Please Wait");
return 1;
}