14.11.2009, 06:33
http://forum.sa-mp.com/index.php?top...7542#msg807542
You can do something like this
You can do something like this
pawn Код:
new bool:IAmStupid[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
IAmStupid[playerid] = random(2); // will take only val 1 (true) or 0 (false)
if(IAmStupid[playerid] == true)
{
SendClientMessage(playerid,0xCA3935FF,"You are a stupid guy :).");
}
else // else if(IAmStupid[playerid] == false)
{
SendClientMessage(playerid,0xD9E21DFF,"You're not a stupid guy :) ( jokeing )");
}
}