[Map] [MAP]DuneBounce - Funny
#1

My New work [MAP]DuneBounce.

Add These Into Your Gamemode:
Somewhere in the top of your Script:
pawn Код:
forward AutoRepair(playerid);
In OnPlayerConnect:
pawn Код:
SetTimerEx("AutoRepair",100,true,"d",playerid);
In the end of Your GameMode:
pawn Код:
public AutoRepair(playerid)
{
  if (IsPlayerInAnyVehicle(playerid))
  {
  new Float:health;
    new vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleHealth(vehicleid, health);
    if (health <= 99)
    {
    SetVehicleHealth(vehicleid,1000);
    GameTextForPlayer(playerid,"~g~Car Auto-Repaired!",5000,5);
    }
  }
}
In OnPlayerCommandText
pawn Код:
if(strcmp(cmdtext, "/db", true) == 0)
    {
    SetPlayerPos(playerid, -39.1159,-3976.4468,33.8152);
    GameTextForPlayer(playerid, "~g~Welcome To~n~~b~Dune Bounce Ring~n~~w~By Aiva...", 5000, 5);
    return 1;
}
Reply


Messages In This Thread
[MAP]DuneBounce - Funny - by AiVAMAN - 12.11.2008, 18:12
Re: [MAP]DuneBounce - Funny - by Mrkrabz - 13.11.2008, 06:25
Re: [MAP]DuneBounce - Funny - by Karlip - 13.11.2008, 18:59
Re: [MAP]DuneBounce - Funny - by whooper - 14.11.2008, 00:36
Re: [MAP]DuneBounce - Funny - by ReV. - 08.12.2008, 20:44
Re: [MAP]DuneBounce - Funny - by Mrkrabz - 09.12.2008, 15:03
Re: [MAP]DuneBounce - Funny - by AiVAMAN - 11.12.2008, 10:21
Re: [MAP]DuneBounce - Funny - by DiddyBop - 30.11.2009, 20:06
Re: [MAP]DuneBounce - Funny - by AiVAMAN - 01.12.2009, 11:57
Re: [MAP]DuneBounce - Funny - by Guedes747 - 01.12.2009, 11:58
Re: [MAP]DuneBounce - Funny - by AiVAMAN - 01.12.2009, 11:59
Re: [MAP]DuneBounce - Funny - by Th3BruTaLBoy - 01.12.2009, 14:30
Re: [MAP]DuneBounce - Funny - by XRVX - 01.12.2009, 15:49
Re: [MAP]DuneBounce - Funny - by Mive - 01.12.2009, 17:01
Re: [MAP]DuneBounce - Funny - by AiVAMAN - 02.12.2009, 06:46

Forum Jump:


Users browsing this thread: 4 Guest(s)