19.09.2010, 17:00
Quote:
Just look under "OnPlayerCommandText"
Example: public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/example", true)) { SendClientMessage(playerid, 0xFFFFFFFF, "Text Here"); return 1; } return 0; } To change the command, just simply change "/example" to "/" and whatever name you want it to be. I would suggest to first learn the scripting language. Visit here: https://sampwiki.blast.hk/wiki/Category:..._Documentation |
but when i rename the /gdeposit to /deposit it shows /deposit in the help menu
but the command is still /gdeposit