18.11.2011, 03:52
Код:
else
{
SendClientMessage(playerid, COLOR_RED, "Wrong place.");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not a cop.");
return 1;
}
}//not connected
return 1;
}
//car system
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]);
//car system
}
now at this position, how can i change 'Unknown Command' text to what i want ? i cant find 'return 0' for change to
Код:
return SendClientMessage(playerid,COLOR_BLUE,"Whoaa!! Wrong Command!! Try /cmds for some help."); }

