Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

OnDialogResponse

$
0
0
PHP Code:

    if(dialogid == CAR_TESTC//Low Vehicles\nMedium Vehicle\nSport Vehicles\nBike\nAir vehicles\nSpecial Vehicles
    
{
        if(
response)
        {
            if(
listitem == 0)
            {
                
ShowPlayerDialog(playerid,CAR_TESTC2,DIALOG_STYLE_LIST,"Test masini","Bravura\nLandstalker\nPerenniel\nBobcat\nRegina\nBurrito\nIntruder","Testeaza","Inchide");
            }
            if(
listitem == 1)
            {
                
ShowPlayerDialog(playerid,CAR_TESTC3,DIALOG_STYLE_LIST,"Test masini","Admiral\nSabre\nSandking\nSavana\nPremier\nSlamvan\nBlade\nHustler\nMerit\nWindsor\nTahoma\nHuntley","Testeaza","Inchide");
            }
            if(
listitem == 2)
            {
                
ShowPlayerDialog(playerid,CAR_TESTC4,DIALOG_STYLE_LIST,"Test masini","Infernus\nBanshee\nTurismo\nZr-350\nComet\nBullet\nSultan\nCheetach\nElegy\nHotring\nBuffalo\nSuper GT\nJester\nFlash\nPhoenix","Testeaza","Inchide");
            }
            if(
listitem == 3)
            {
                
ShowPlayerDialog(playerid,CAR_TESTC5,DIALOG_STYLE_LIST,"Test masini","Bike","Testeaza","Inchide");
            }
            if(
listitem == 4)
            {
                
ShowPlayerDialog(playerid,CAR_TESTC6,DIALOG_STYLE_LIST,"Test masini","Special Vehicles","Testeaza","Inchide");
            }
        }
    }
    if(
dialogid == CAR_TESTC2)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(401,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 1)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(400,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 2)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(404,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 3)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(422,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 4)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(479,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 5)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(482,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 6)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(546,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            
            
        }
    if(
dialogid == CAR_TESTC3// Admiral\nSabre\nSandking\nSavana\nPremier\nSlamvan\nBlade\nHustler\nMerit\nWindsor\nTahoma\nHuntley
    
{
        if(
response)
        {
            if(
listitem == 0)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(445,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 1)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(475,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 2)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(495,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 3)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(567,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 4)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(426,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 5)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(535,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 6)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(536,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 7)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(545,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 8)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(551,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 9)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(555,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 10)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(566,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 11)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(579,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            
        }
    }
    if(
dialogid == CAR_TESTC4// Infernus\nBanshee\nTurismo\nZr-350\nComet\nBullet\nSultan\nCheetach\nElegy\nHotring\nBuffalo\nSuper GT\nJester\nFlash\nPhoenix
    
{
        if(
response)
        {
            if(
listitem == 0)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(411,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 1)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(429,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 2)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(451,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 3)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(477,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 4)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(480,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 5)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(541,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 6)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(560,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 7)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(515,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 8)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(562,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 9)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(502,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 10)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(402,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 11)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(506,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 12)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(559,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 13)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(565,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
            if(
listitem == 14)
            {
                new 
Tcar,Vw;
                
Vw GetPlayerID(GetName(playerid)) +;
                
Tcar AddStaticVehicleEx(603,1789.6082,844.3866,10.6321,0,255,255,10);
                
SetVehicleVirtualWorld(Tcar,Vw);
                
SetPlayerVirtualWorld(playerid,Vw);
                
PutPlayerInVehicle(playeridTcar0);
                
TestingCar[playerid] = 1;
                
TestingCarID[playerid] = GetPlayerVehicleID(playerid) ;
                
SendClientMessage(playerid,COLOR_GREEN,"Pentru a iesi din test foloseste comanda /stoptest sau iesi din masina!");
            }
        }
    } 

something is wrong with this lines , becouse weahout them the server doesen't give any errors but if i add them it starts to show errors which have nothing to do with this lines at all .

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>