convert dcmd a zcmd
#5

and so it is correct to order it to the cmd
CMD:frist(playerid,params[])
{
new price, winner;
if(PlayerInfo[playerid][Level] < 6) return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
if(joinable == 0 && event == 0) return SendClientMessage(playerid, red, "ERROR: No Hay Ningun Evento Para Finalizar!.");
if(sscanf(params,"ui",winner,price)) return SendClientMessage(playerid,COLOR_RED,"Usage: /winner [ID] [Price]");
new str[128];
format(str,128,"%s (%i) has won the event, and gained %d",GetName(winner),winner,price);
GameTextForAll(str,10000,3);
GivePlayerScore(winner,price);
return 1;
}
Reply


Messages In This Thread
convert dcmd a zcmd - by nbx2000 - 11.02.2019, 02:17
Re: convert dcmd a zcmd - by Kane - 11.02.2019, 02:33
Re: convert dcmd a zcmd - by nbx2000 - 11.02.2019, 02:38
Re: convert dcmd a zcmd - by Kane - 11.02.2019, 02:49
Re: convert dcmd a zcmd - by nbx2000 - 11.02.2019, 02:51
Re: convert dcmd a zcmd - by TheToretto - 11.02.2019, 06:14

Forum Jump:


Users browsing this thread: 2 Guest(s)