/try command help
#1

This is my question when the server using the command''/try''nothing happens''/try smoke'' nothing happens D:

Whats the error?


Quote:

if (strcmp(cmd, "/try", true)==0)
{
if(cmdtext[4] == ' ')
{
new plyName[MAX_PLAYER_NAME];
new buffer[255];
new rand = random(20);
new message[256];

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

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


Messages In This Thread
/try command help - by pablodc - 26.08.2009, 12:05
Re: /try command help - by Paladin - 26.08.2009, 12:44
Re: /try command help - by pablodc - 26.08.2009, 13:12
Re: /try command help - by Paladin - 26.08.2009, 13:17
Re: /try command help - by MenaceX^ - 26.08.2009, 13:20
Re: /try command help - by pablodc - 26.08.2009, 13:29
Re: /try command help - by MenaceX^ - 26.08.2009, 13:29
Re: /try command help - by pablodc - 26.08.2009, 13:30
Re: /try command help - by MenaceX^ - 26.08.2009, 13:35
Re: /try command help - by pablodc - 26.08.2009, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)