11.02.2013, 11:39
Hello
Im trying to edit my script but it somehow crashed.
I've been editing these lines.
Please help me.
Im trying to edit my script but it somehow crashed.
I've been editing these lines.
Код:
if(IsPlayerConnected(playerid)) { new string[128]; new sendername[MAX_PLAYER_NAME]; GetPlayerNameEx(playerid, sendername, sizeof(sendername)); new rand = random(sizeof(HospitalSpawns)); if(rand == 0) { SetPlayerPos(playerid, 1192.256836, -1304.637939, 7.0000); SetPlayerCameraPos(playerid, -2551.79, 2313.97, 26.20); SetPlayerCameraLookAt(playerid, -2530.35, 2346.20, 7.97); if(PlayerInfo[playerid][pWantedLevel] > 0) { SendClientMessage(playerid,COLOR_YELLOW,"The Bayside Police Department has been informed of your current location."); SendCopMessage(TEAM_BLUE_COLOR, "HQ: All Units APB: Reporter: Bayside Hospital Staff"); format(string, sizeof(string), "HQ: Crime: Unknown, Suspect: %s",sendername); SendCopMessage(TEAM_BLUE_COLOR, string); } } else { SetPlayerPos(playerid, 2012.323608, -1436.354370, 5.0000); SetPlayerCameraPos(playerid, -2551.79, 2313.97, 26.20); SetPlayerCameraLookAt(playerid, -2530.35, 2346.20, 7.97); if(PlayerInfo[playerid][pWantedLevel] > 0) { SendClientMessage(playerid,COLOR_YELLOW,"The Bayside Police Department has been informed of your current location."); SendCopMessage(TEAM_BLUE_COLOR, "HQ: All Units APB: Reporter: Bayside Hospital Staff"); format(string, sizeof(string), "HQ: Crime: Unknown, Suspect: %s",sendername); SendCopMessage(TEAM_BLUE_COLOR, string); } }
Please help me.