|
|
#1 |
|
Banned
![]() Join Date: Oct 2009
Location: Canada
Posts: 172
Reputation: 0
|
Hey guys I started makin some events for my server and i was wondering how i would make a time that once i started the event with /derbyevent it counts down from 1 min then starts .also i was wondering how i could make this so if there car catches fire and the blow up there out and the last one left will win and get money heres my code so far
COMMAND:joinderby(playerid,params[]) { #pragma unused params { if(Event[playerid] == 0) return SendClientMessage(playerid, red, "The Event Is Not Open To Public Yet.!"); GivePlayerMoney(playerid, -500); SetPlayerPos(playerid, -1345.6353,936.1618,1036.3716); SetPlayerInterior(playerid, 7); SetPlayerInterior(playerid, 15); GameTextForPlayer(playerid, "~w~] Welcome To The The Track The Derby Will Start Soon ]", 9000, 5); ResetPlayerWeapons(playerid); if(GetPlayerState(playerid) == 2) { SetVehiclePos(GetPlayerVehicleID(playerid), -1345.6353,936.1618,1036.3716); } else SetPlayerPos(playerid, -1345.6353,936.1618,1036.3716); return 1; } } COMMAND:derbyevent(playerid,params[]) { #pragma unused params if(level[playerid] >= 1) { for(new i = 0; i < MAX_PLAYERS; i++) Event[i] = 1; GameTextForAll("Demolition Derby Starting Soon /joinderby costs $500 To Join!", 9000, 3); return 1; } else return SendClientMessage(playerid, red, "Error: You are either not a admin or you are not a admin with the correct level."); } |
|
|
|
|
#2 |
|
Banned
![]() Join Date: Oct 2009
Location: Canada
Posts: 172
Reputation: 0
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with /event cmd | Razvann | Help Archive | 9 | 23/01/2011 02:28 PM |
| Event! | ColdXX | Help Archive | 5 | 29/05/2010 01:35 PM |
| event info | godsave | Română/Romanian | 19 | 24/04/2010 12:32 PM |
| /event problem. | Razvann | Help Archive | 8 | 27/02/2010 03:49 PM |