PLZ HELP ME
#1

I got this command like /flipcoin
Pawno
if(strcmp(cmdtext, "/flipcoin", true) == 0) // By Keondre Harris
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GREEN, "%s flips a quarter and it lands on heads");
SendClientMessage(playerid, COLOR_GREEN, "%s flips a quarter and it lands on tails");
return 1;
}

how do i make it randomly so it have a chance of landing on heads or talis and only the people around get da message to on wat it landed on...
Reply


Messages In This Thread
PLZ HELP ME - by Keeboo13 - 11.02.2010, 23:06
Re: PLZ HELP ME - by BlackFoX - 11.02.2010, 23:16
Re: PLZ HELP ME - by Keeboo13 - 11.02.2010, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)