Not Create Vehicle.
#3

pawn Код:
if(dialogid == StuntMission_Dialog && response)
{
    if(!CPS_IsPlayerInCheckpoint(playerid,RampCheck)) return SendClientMessage(playerid,COLOR_RED,".айрк бц'аифейри щм ощйоъ дсиари");
    if(GetPlayerMoney(playerid)< 1000) return SendClientMessage(playerid,COLOR_RED,"! 1,000$ тмеъ дощйод темд");
    if(StuntOn == 1) return SendClientMessage(playerid,COLOR_RED,".ойщде лбш тещд аъ дощйод");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"! ца одшлб");
    DestroyVehicle(RampNRG);
    RampNRG = CreateVehicleEx(522,1968.2848,-1424.8018,13.1373,90.8023,1,0,50000,0,StuntMissionVirtualWorld);
    SetPlayerVirtualWorld(playerid, StuntMissionVirtualWorld);
    PutPlayerInVehicle(playerid, RampNRG, 0);
    SetPlayerRaceCheckpoint(playerid,2,1826.9647,-1436.8265,35.9219,1826.9647,-1436.8265,35.9219,10);
    InStunt[playerid] = 1;
    StuntOn = 1;
    GivePlayerMoney(playerid,-1000);
    format(string, sizeof(string), "[Stunt Mission ] >> .йца мощйоъ дсиари \"%s\"", GetName(playerid));
    SendClientMessageToAll(COLOR_PINK, string);
    SendClientMessage(playerid,COLOR_AQUA,".дъзмъ аъ ощйоъ дсиари, йщ мк гчд мдвйт мвв");
    SendClientMessage(playerid,COLOR_AQUA,".бойгт еъйфем / йтбеш джоп / ъщъвш ъфсм одощйод");
    for(new slots = GetMaxPlayers( ), i; i < SLOTS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(InStunt[i] == 1)
            {
                RampTimer[i] = SetTimerEx("CountDown", 1000, 1, "i", i);
                RampCD[i] = 60;
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Not Create Vehicle. - by _DownLoaD_ - 19.02.2012, 15:44
Re: Not Create Vehicle. - by _DownLoaD_ - 19.02.2012, 17:01
Re: Not Create Vehicle. - by aRoach - 19.02.2012, 17:04
Re: Not Create Vehicle. - by _DownLoaD_ - 19.02.2012, 17:40
Re: Not Create Vehicle. - by Shetch - 19.02.2012, 17:54
Re: Not Create Vehicle. - by _DownLoaD_ - 19.02.2012, 17:56
Re: Not Create Vehicle. - by aRoach - 19.02.2012, 18:02
Re: Not Create Vehicle. - by _DownLoaD_ - 20.02.2012, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)