/try [HELP!!!]
#2

Man. Im Try This Command And Fails Much. Emm.. No sabria fix it.

Te dejo aqui uno, que esta por arreglar.

Quote:
Originally Posted by Command /Try
if(!strcmp("/intentar", cmdtext, true, 4))
{
if(cmdtext[4] == ' ')
{
new plyName[MAX_PLAYER_NAME];
new buffer[255];
new rand = random(20);

GetPlayerName(playerid, plyName, MAX_PLAYER_NAME);
strdel(cmdtext, 0, 4);
if(rand >= 10)
{
format(buffer, sizeof(buffer), "* %s intenta %s y lo consigue", plyName, cmdtext);
}else{
format(buffer, sizeof(buffer), "* %s intenta %s pero falla", plyName, cmdtext);
}

for(new ply; ply != MAX_PLAYERS; ply++)
{
{
SendClientMessage(ply, 0x00FFFF, buffer);
}
}
}else{
SendClientMessage(playerid, 0xFF0000FF, "USA: /intentar [accion]");
}
return 1;
}
Espero que te sirva =)
Reply


Messages In This Thread
/try [HELP!!!] - by Manuel_Luna - 17.09.2008, 10:54
Re: /try [HELP!!!] - by foKu - 21.05.2009, 14:58
Re: /try [HELP!!!] - by Scienziatopazzo - 27.04.2010, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)