SA-MP Forums Archive
I want to make when press c it returns to the command.. - 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: I want to make when press c it returns to the command.. (/showthread.php?tid=427634)



I want to make when press c it returns to the command.. - Scrillex - 02.04.2013

So I have this bit of code..

I have created cmd:exitcontrolcam so now I need just need to make it when player press c it will exit controlable camera. Basically same as writing the command!
pawn Код:
if(keys == KEY_CROUCH)
{
    cmd_exitcontrolcam
}



Re: I want to make when press c it returns to the command.. - Scenario - 02.04.2013

return cmd_exitcontrolcam(playerid, "");


Re: I want to make when press c it returns to the command.. - Scrillex - 02.04.2013

Thank you