SA-MP Forums Archive
Help (keys). - 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: Help (keys). (/showthread.php?tid=83667)



Help (keys). - illay - 26.06.2009

That could be written in...

ctrl+alt functional on foot and in vehicle.


Re: Help (keys). - illay - 27.06.2009

idea?


Re: Help (keys). - Grim_ - 27.06.2009

Explain what you are trying to do with what keys please.


Re: Help (keys). - illay - 27.06.2009

Example server 62.212.66.219:7733 press ctrl+alt = loadpos


Re: Help (keys). - Grim_ - 27.06.2009

I'm not going to go onto a server. Just tell me what you want it to do.


Re: Help (keys). - illay - 27.06.2009

I press ctrl + alt = loadpos.


Re: Help (keys). - Grim_ - 27.06.2009

Take you to your last saved pos?


Re: Help (keys). - illay - 27.06.2009

I press CTRL+ALT (IN VEHICLE & ON FOOT) = something -.-


Re: Help (keys). - farse - 27.06.2009

Put at OnPlayerKeyStateChange
pawn Код:
if(newkeys & KEY_WALK && newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid))
{
SetPlayerPOs(...)//Search in command /lp
}
But i don't know which is code for the CTRL and ALT . Search here


Re: Help (keys). - illay - 27.06.2009

thx