30.01.2013, 18:28
Here...What should i ADD and WHERE
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new pos, funcname[32]; while(cmdtext[++pos] > ' ') { funcname[pos-1] = tolower(cmdtext[pos]); } strins(funcname, "cmd_", 0, sizeof(funcname)); while (cmdtext[pos] == ' ') pos++; if(!cmdtext[pos]) { return CallLocalFunction(funcname, "is", playerid, "\1"); } return CallLocalFunction(funcname, "is", playerid, cmdtext[pos]); if(strcmp(cmd,"/car",true)==0) and then its starts that first code