Dealership Hotwire!
#3

Код:
        if(!strcmp(cmd, "/hotwire", true))
{
if(engineOn[GetPlayerVehicleID(playerid)]) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Engine already started!");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Your key Please");
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Only the driver can do this!");
if(IsAtDealership(playerid)) return SendClientMessage(playerid, COLOR_DARKRED, "You can't hotwire this vehicle!");
if(pveh == 510) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "You don't need to start a bike!");
if(pveh == 462) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "You don't need to start a bike!");
if(idcar == 59 || idcar == 60) return SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Access denied!");
if(IsAtCarrental(playerid)) return SendClientMessage(playerid, COLOR_DARKRED, "You can't hotwire this vehicle!");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s tries to hotwire the car", sendername);
ProxDetector(30.0, playerid, string, COLOR_LIGHT_BLUE,COLOR_LIGHT_BLUE,COLOR_LIGHT_BLUE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("StartingTheVehicle",7000,0,"i",playerid);
GameTextForPlayer(playerid, "~w~Hotwiring The Vehicle...",3500,3);
gEngine[playerid] = 1;
return 1;
Reply


Messages In This Thread
Dealership Hotwire! - by NotoriousMOB - 18.10.2010, 16:48
Re: Dealership Hotwire! - by Cameltoe - 18.10.2010, 16:51
Re: Dealership Hotwire! - by NotoriousMOB - 18.10.2010, 16:54
Re: Dealership Hotwire! - by Cameltoe - 18.10.2010, 16:58
Re: Dealership Hotwire! - by NotoriousMOB - 18.10.2010, 17:07
Re: Dealership Hotwire! - by Cameltoe - 18.10.2010, 17:28
Re: Dealership Hotwire! - by NotoriousMOB - 18.10.2010, 17:39
Re: Dealership Hotwire! - by Cameltoe - 18.10.2010, 17:44
Re: Dealership Hotwire! - by Hash [NL-RP] - 18.10.2010, 17:47
Re: Dealership Hotwire! - by NotoriousMOB - 18.10.2010, 18:03

Forum Jump:


Users browsing this thread: 3 Guest(s)