26.07.2013, 21:24
Hello to all! I wanted to know how could I do to run the command "/enter" when you press ENTER! How can I do? Thank you.
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Keys: https://sampwiki.blast.hk/wiki/Keys If you use ZCMD, check if he press ENTER and do: return cmd_enter(playerid, ""); |
if(strcmp(cmd, "/enter", true) == 0) // Trasforma in INVIO
{