18.03.2016, 20:19
Use fast commands, and DON'T mix them.
use the wiki, and real tutorials. Videos are cool, but learning to script is more important than following a video step-by-step where you end up in this situation, where it doesn't work, and you can't read the code so you don't know where it's gone to shit.
Also, with your filterscript, does it NEED to be a filterscript? It can after all simply be put in the gamemode itself.
This is why people say don't post up untested code... SCM is not defined...
FTFY
use the wiki, and real tutorials. Videos are cool, but learning to script is more important than following a video step-by-step where you end up in this situation, where it doesn't work, and you can't read the code so you don't know where it's gone to shit.
Also, with your filterscript, does it NEED to be a filterscript? It can after all simply be put in the gamemode itself.
Quote:
Here is example:
Код:
CMD:help(playerid ,params[]) { SCM(playerid, COLOR_RED, "/car /askq /report /etc /etc /etc"); return 1; } |
Код:
CMD:help(playerid ,params[]) { SendClientMessage(playerid, COLOR_RED, "/car /askq /report /etc /etc /etc"); return 1; }