14.11.2010, 00:21
I've got 2 questions:
I'm using ZCMD, and i want to put that if someone type a wrong command, to say "try /help for more infos" or something like this.
The other question is that:
I have this code:
But i want to put that NPS like idles. how to do that (i dont remeber)
I'm using ZCMD, and i want to put that if someone type a wrong command, to say "try /help for more infos" or something like this.
The other question is that:
I have this code:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
MySQLCheck();
for(new i = 0; i < 50; i++ ){
SendClientMessage(playerid, COLOR_WHITE, "");
}
new string[128],sendername[MAX_PLAYER_NAME];
format(sendername, sizeof(sendername), "%s", PlayerName(playerid));
if(IsPlayerNPC(playerid))
{
if(strcmp(sendername,"Spaciatore",true) == 0)
{
SetSpawnInfo(playerid,69,223,2286.4858,-2426.7209,3.0000,3.7297,-1,-1,-1,-1,-1,-1);
}
if(strcmp(sendername,"Binco",true) == 0)
{
SetSpawnInfo(playerid,69,211,207.5418,-98.6980,1005.2578,178.7630,-1,-1,-1,-1,-1,-1);
}