leon Posted July 27, 2010 Posted July 27, 2010 Am si eu o intrebare.Cum fac din dcmd comanda if (strcmp(cmd, "/rset", true) == 0) ?cum e dcmd_rset(playerid,params[]){ if(!IsPlayerAdmin(playerid))return 0; new text[128], cash; if(sscanf(params,"si",text,cash))return SendClientMessage(playerid,COLOR_WHITE,"USAGE: /rset [word] [money]"); if(strlen(text) > 25) return SendClientMessage(playerid,COLOR_GRAD2,"ERROR: Your fastevent word is to long. Please shorten it to 25 characters max."); if(cash < 1 || cash > 1000000000) return SendClientMessage(playerid,COLOR_GRAD2,"ERROR: Invalid prize money. Please use $1 - $1000000000."); SendClientMessage(playerid,0x00FF80FF,"You have put an FastEvent."); format(ReactionString,sizeof(ReactionString),"%s",text); ReactionCash = cash; PassiveMode = PASSIVE_ON; ReactionTest(); return 1;}Se poate face ..?
ScripterU Posted July 27, 2010 Posted July 27, 2010 Nu nu se poate ,, ti-am dat eu pe mess comanda buna :)
Question
leon
Am si eu o intrebare.
Cum fac din dcmd comanda if (strcmp(cmd, "/rset", true) == 0) ?
cum e
Se poate face ..?
1 answer to this question
Recommended Posts