Engine Command
#4

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
Reply


Messages In This Thread
Engine Command - by James.Clement - 12.12.2011, 16:08
Re: Engine Command - by DonWade - 12.12.2011, 16:13
Re: Engine Command - by James.Clement - 12.12.2011, 16:16
Re: Engine Command - by DonWade - 12.12.2011, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)