13.01.2016, 09:04
Quote:
How are we supposed to know how do you get variables like player's location and phone number?
Код:
SendCrimeMessage(target, playerid, crime[]) { new msg[128]; SendCopMessage(TEAM_BLUE_COLOR, "|___ emergency 911 call ___|") format(msg, sizeof(msg), "Reporter: %s",GetPlayerNameEx(playerid, ENameType_RPName_NoMask)); SendCopMessage(TEAM_BLUE_COLOR, msg); format(msg, sizeof(msg), "Phone Number: %d", phonenumber); SendCopMessage(TEAM_BLUE_COLOR, msg); format(msg, sizeof(msg), "Location: %s", location); SendCopMessage(TEAM_BLUE_COLOR, msg); format(msg, sizeof(msg), "Crime: %s",crime); SendCopMessage(TEAM_BLUE_COLOR, msg); SendCopMessage(TEAM_BLUE_COLOR, "------------------------------------") return 1; } |
Quote:
Just to clarify since you obviously have no idea how to edit a PAWN code.
The code above me will NOT work UNLESS you SWITCH out the following variables with YOUR script's variables. Код:
phonenumber, location, crime |