11.02.2010, 23:06
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...
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...