/enter and /exit using KEY_SECONDARY_ATTACK key
#2

Obviously it never gets a chance to call /exit try it like this, it shouldn't exit even though you try because your position won't be fully updated if it does then you'll have to try some other stuff but it should work I would think.

pawn Код:
if( newkeys & KEY_SECONDARY_ATTACK ){
    OnPlayerCommandText(playerid, "/enter");
    OnPlayerCommandText(playerid, "/exit");
}
Reply


Messages In This Thread
/enter and /exit using KEY_SECONDARY_ATTACK key - by mrxqware - 17.12.2013, 21:17
Re: /enter and /exit using KEY_SECONDARY_ATTACK key - by Pottus - 17.12.2013, 21:23
Re: /enter and /exit using KEY_SECONDARY_ATTACK key - by mrxqware - 18.12.2013, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)