12.12.2011, 16:21
Put that code under public OnPlayerCommandText(playerid, cmdtext[]) instead of OnPlayerKeyStateChange(playerid, newkeys, oldkeys) and just add : example
if (strcmp("/engine", cmdtext, true, 10) == 0) instead of my if (newkeys == KEY_FIRE) and thats it
if (strcmp("/engine", cmdtext, true, 10) == 0) instead of my if (newkeys == KEY_FIRE) and thats it
