German RealLife Car System [HELP]
#1

Hello everyone , im editing this car system, and i've got problem.I want to make cmd with function PutPlayerInVehice.This command must Put player in buyable Infernus, but i dont know how to make it.


Car Spawning:



pawn Код:
new Buylist[54][ahModel] = {
    {"Infernus",0,411,-1,220000,55000,-1659.9353,1217.6703,13.4783,175.9816},
...........


pawn Код:
new i;
    for(i=0; i  {

        Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1);
    }
    for(i=0; i  {
        Spectating[i][0]=-1;
    }
Mine Script:

pawn Код:
if(!strcmp(text,"infernus",true))
        {
            PlayerOrder[playerid] = "infernus";
            Pardbusy = 1;
           SetPlayerCameraPos(playerid,-1657.6204,1210.5876,15.3158);
            SetPlayerCameraLookAt(playerid,-1658.4584,1218.0245,13.8918);
//here i need function PutPlayerInVehicle , it will put player in buyable infernus
             SetPlayerChatBubble(bot,"John: {FFFFFF}Wait a second...",0xFFFF00DD,35.0,3000);
            SetTimerEx("GetCar",3000,false,"ii",bot,playerid);
        }
    }
P.S Sorry for bad english
Reply


Messages In This Thread
German RealLife Car System [HELP] - by brightas - 28.07.2011, 17:29
Re: German RealLife Car System [HELP] - by ScRaT - 28.07.2011, 17:42
Re: German RealLife Car System [HELP] - by brightas - 28.07.2011, 20:00
Re: German RealLife Car System [HELP] - by brightas - 29.07.2011, 12:52
Re: German RealLife Car System [HELP] - by brightas - 29.07.2011, 13:14
Re: German RealLife Car System [HELP] - by Rafa - 29.07.2011, 13:21

Forum Jump:


Users browsing this thread: 2 Guest(s)