12.11.2011, 08:14
hi users,
Im trying to script a little but im not lucky xD
can someone help me with this
i want if the Police or FMD get this call they get a checkpoint on there map where the crime or accident is.
can someone help me with this?
Im trying to script a little but im not lucky xD
can someone help me with this
Code:
if(IsPlayerConnectedEx(GetPlayerID(text))) { new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); format(string, sizeof(string), "911: %s has reported %s for %s (tracked from %s)", GetName(playerid), GetPlayerID(text), Player[playerid][ActiveCrimeReport], location); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnectedEx(i)) { if(Groups[Player[i][Group]][CommandTypes] == 1 && Player[i][CopDuty] == 1) { SendClientMessage(i, RED, string); } } }
can someone help me with this?