SA-MP Forums Archive
How to?? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to?? (/showthread.php?tid=250490)



How to?? - [JnA]DukeNukem - 23.04.2011

How can I add "TogglePlayerControlable(playerid,1)" to this

Код:
case 0: format(string,sizeof(string),"You have logged into your account. [Status Level: Member]");



Re: How to?? - [JnA]DukeNukem - 23.04.2011

Nevermind, i fixed it like this

Код:
case 0: format(string,sizeof(string),"You have logged into your account. [Status Level: Member]") |TogglePlayerControllable(playerid,1);



Re: How to?? - Unknown123 - 23.04.2011

You can also do

pawn Код:
case 0:
{
    format(string,sizeof(string),"You have logged into your account. [Status Level: Member]");
    TogglePlayerControllable(playerid,1);
    //Stuff stuff
}



Re: How to?? - [ADC]Aldi96 - 23.04.2011

NIceeeeeeeeeeeeeeeee... i use the 1rst