21.02.2012, 21:54
pawn Код:
public RandomFireSpawn(playerid)
{
rand = random(sizeof(RandomFireSpawn));
CreateObject(objectid, RandomFireSpawn[rand][0], RandomFireSpawn[rand][1], RandomFireSpawn[rand][2], 0.0,0.0, 0.0);
SetPlayerMapIcon(playerid, 18, RandomFireSpawn[1],RandomFireSpawn[1],RandomFireSpawn[1], 55, COLOR_WHITE, 0);
if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] != 3)
{
SendClientMessage(playerid, COLOR_GREEN, "Dispatch: A Fire Has Been Located Please Respond We Have Set A Icon.");
}
return 1;
}