SA-MP Forums Archive
Commands with keayboard... - 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: Commands with keayboard... (/showthread.php?tid=365617)



Commands with keayboard... - Mataaltedi - 03.08.2012

Hey ppl, i would like to make this command
Код HTML:
if (strcmp("/nameoon", cmdtext, true) == 0)
{
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
    GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
    return 1;
}
With a key, if i press key "*", make this command work, like when u turn on engine on car u press shift ...