[HELP]Command
#1

Quote:

YCMDokaziparicnik(playerid, params[], help)
{
#pragma unused help
new id, string[128], name[MAX_PLAYER_NAME];
if(sscanf(params,"u", id)) return SendClientMessage(playerid,-1,"INFO:: /pokaziparicnik [ID/Ime na Igrac]");
else if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"Pogresan ID.");
else
{
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string),"Igrac %s ima $%i.",name,GetPlayerMoney(playerid));
SendClientMessage(id,-1,string);
SendClientMessage(playerid,-1,"Pokazao si paricnik!");
}
return 1;
}

can you give me this cmd to strcmp y don't use CMD:...
Reply


Messages In This Thread
[HELP]Command - by mayk - 01.10.2011, 17:53
Re: [HELP]Command - by Kingunit - 01.10.2011, 17:57
Re: [HELP]Command - by mayk - 01.10.2011, 17:59
Re: [HELP]Command - by Kingunit - 01.10.2011, 18:01
Re: [HELP]Command - by mayk - 01.10.2011, 18:04
Re: [HELP]Command - by Kingunit - 01.10.2011, 18:30

Forum Jump:


Users browsing this thread: 2 Guest(s)