07.03.2012, 18:55
How this works?
Type /911 for call the 911, usable with ALL the GM!
Why I am releasing this?
Because I need reputation to advedrtise my server , so please reputate me you will make me a HUGE help!
Video (At the beginning)
[ame]http://www.youtube.com/watch?v=adFpOvsQ7RY&list=UUvnvHSVf6ZLFKtanBEeW45w& index=2&feature=plcp[/ame]
DOWNLOAD? Just need to ass this to your Gamemode:
Under OnPlayerEnterCheckpoint:
Please stay nice this is my first official release :P
Reputate and rate!
Type /911 for call the 911, usable with ALL the GM!
Why I am releasing this?
Because I need reputation to advedrtise my server , so please reputate me you will make me a HUGE help!
Video (At the beginning)
[ame]http://www.youtube.com/watch?v=adFpOvsQ7RY&list=UUvnvHSVf6ZLFKtanBEeW45w& index=2&feature=plcp[/ame]
DOWNLOAD? Just need to ass this to your Gamemode:
pawn Code:
//911 Call
CMD:911(playerid, params[])
{
//911 system
if(isnull(params)) return SendClientMessage(playerid, COLOR_ROYALBLUE, "USAGE: 911 message and location!");
new sendername[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
SendClientMessage(playerid, COLOR_ROYALBLUE, "*DISPATCHER: Ok, Thanks! We'll get a unit to you, please remain at your location and wait.");
SendClientMessage(playerid, COLOR_LIGHTSKYBLUE, "They hang up...");
for(new i=0;i<MAX_PLAYERS;i++) {
if(GetPlayerSkin(i) == 285 || GetPlayerSkin(i) == 282 || GetPlayerSkin(i) == 281 || GetPlayerSkin(i) == 283 || GetPlayerSkin(i) == 288 ||GetPlayerSkin(i) == 278 || GetPlayerSkin(i) == 275 || GetPlayerSkin(i) == 279 || GetPlayerSkin(i) == 277 || GetPlayerSkin(i) == 274 || GetPlayerSkin(i) == 276) {
SendClientMessage(i, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
SendClientMessage(i, COLOR_ROYALBLUE, "DPS AUTOMATED DISPATCH");
SendClientMessage(i, COLOR_GREY, "911 Call");
format(string, sizeof(string), "NAME: %s (ID: %i)", sendername, playerid);
SendClientMessage(i, COLOR_GREY, string);
format(string, sizeof(string), "CALL INFO: %s", params);
SendClientMessage(i, COLOR_GREY, string);
SendClientMessage(i, COLOR_GREY, "Suggested action: Get to the scene for a verify of the call.");
SendClientMessage(i, COLOR_GREY, "Call code: Unknown.");
SendClientMessage(i, COLOR_GREY, "-------------------------------------------------------------------------------------------------");
SendClientMessage(i, COLOR_GOLD, "[INFO]A marker has been put on your GPS. Enter it to remove it.");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5.0);
}
}
return 1;
}
pawn Code:
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
return 1;
}
Reputate and rate!