So many errors
#1

Well, I'll hit 50 post in no time so don't worry about that.

I get these erros

Quote:

C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(1997) : warning 219: local variable "carid" shadows a variable at a preceding level
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3295) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3295) : error 001: expected token: "-identifier-", but found "-string-"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3296) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3296) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3297) : error 017: undefined symbol "rot"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(329 : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3300) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3301) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3302) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(330 : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3319) : error 001: expected token: "-identifier-", but found "-string-"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3320) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3320) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3321) : error 017: undefined symbol "rot"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3322) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3324) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3325) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3326) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3334) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3335) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3343) : error 001: expected token: "-identifier-", but found "-string-"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3345) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3346) : error 017: undefined symbol "rot"
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3347) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3349) : error 035: argument type mismatch (argument 3)
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3350) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3351) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3363) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(3365) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(358 : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Jeannette\Desktop\GTA MOds AND SkiNz\pawno\ECRP.pwn(358 : warning 219: local variable "y" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


15 Errors.

And I'm trying to input the following code,

PHP код:
new Text:Next,Text:Back,Text:Buy;
new 
carid[MAX_PLAYERS];
new 
car[MAX_PLAYERS];
 
new 
VehicleNames[212][] =
{
    {
"Landstalker"},
    {
        
"Bravura"
    
}
    ,
    {
        
"Buffalo"
    
}
    ,
    {
        
"Linerunner"
    
}
    ,
    {
        
"Perrenial"
    
}
    ,
    {
        
"Sentinel"
    
}
    ,
    {
        
"Dumper"
    
},
    {
"Firetruck"},
    {
        
"Trashmaster"
    
}
    ,
    {
        
"Stretch"
    
}
    ,
    {
        
"Manana"
    
}
    ,
    {
        
"Infernus"
    
}
    ,
    {
        
"Voodoo"
    
}
    ,
    {
        
"Pony"
    
}
    ,
    {
        
"Mule"
    
},
    {
"Cheetah"},
    {
        
"Ambulance"
    
}
    ,
    {
        
"Leviathan"
    
}
    ,
    {
        
"Moonbeam"
    
}
    ,
    {
        
"Esperanto"
    
}
    ,
    {
        
"Taxi"
    
}
    ,
    {
        
"Washington"
    
},
    {
"Bobcat"},
    {
        
"Mr Whoopee"
    
}
    ,
    {
        
"BF Injection"
    
}
    ,
    {
        
"Hunter"
    
}
    ,
    {
        
"Premier"
    
}
    ,
    {
        
"Enforcer"
    
}
    ,
    {
        
"Securicar"
    
},
    {
"Banshee"},
    {
        
"Predator"
    
}
    ,
    {
        
"Bus"
    
}
    ,
    {
        
"Rhino"
    
}
    ,
    {
        
"Barracks"
    
}
    ,
    {
        
"Hotknife"
    
}
    ,
    {
        
"Trailer 1"
    
}
    ,
    {
        
"Previon"
    
},
    {
"Coach"},
    {
        
"Cabbie"
    
}
    ,
    {
        
"Stallion"
    
}
    ,
    {
        
"Rumpo"
    
}
    ,
    {
        
"RC Bandit"
    
}
    ,
    {
        
"Romero"
    
}
    ,
    {
        
"Packer"
    
}
    ,
    {
        
"Monster"
    
},
    {
"Admiral"},
    {
        
"Squalo"
    
}
    ,
    {
        
"Seasparrow"
    
}
    ,
    {
        
"Pizzaboy"
    
}
    ,
    {
        
"Tram"
    
}
    ,
    {
        
"Trailer 2"
    
}
    ,
    {
        
"Turismo"
    
},
    {
"Speeder"},
    {
        
"Reefer"
    
}
    ,
    {
        
"Tropic"
    
}
    ,
    {
        
"Flatbed"
    
}
    ,
    {
        
"Yankee"
    
}
    ,
    {
        
"Caddy"
    
}
    ,
    {
        
"Solair"
    
}
    ,
    {
        
"Berkley's RC Van"
    
},
    {
"Skimmer"},
    {
        
"PCJ-600"
    
}
    ,
    {
        
"Faggio"
    
}
    ,
    {
        
"Freeway"
    
}
    ,
    {
        
"RC Baron"
    
}
    ,
    {
        
"RC Raider"
    
}
    ,
    {
        
"Glendale"
    
}
    ,
    {
        
"Oceanic"
    
},
    {
"Sanchez"},
    {
        
"Sparrow"
    
}
    ,
    {
        
"Patriot"
    
}
    ,
    {
        
"Quad"
    
}
    ,
    {
        
"Coastguard"
    
}
    ,
    {
        
"Dinghy"
    
}
    ,
    {
        
"Hermes"
    
}
    ,
    {
        
"Sabre"
    
},
    {
"Rustler"},
    {
        
"ZR-350"
    
}
    ,
    {
        
"Walton"
    
}
    ,
    {
        
"Regina"
    
}
    ,
    {
        
"Comet"
    
}
    ,
    {
        
"BMX"
    
}
    ,
    {
        
"Burrito"
    
}
    ,
    {
        
"Camper"
    
}
    ,
    {
        
"Marquis"
    
},
    {
"Baggage"},
    {
        
"Dozer"
    
}
    ,
    {
        
"Maverick"
    
}
    ,
    {
        
"News Chopper"
    
}
    ,
    {
        
"Rancher"
    
}
    ,
    {
        
"FBI Rancher"
    
}
    ,
    {
        
"Virgo"
    
}
    ,
    {
        
"Greenwood"
    
},
    {
"Jetmax"},
    {
        
"Hotring"
    
}
    ,
    {
        
"Sandking"
    
}
    ,
    {
        
"Blista Compact"
    
}
    ,
    {
        
"Police Maverick"
    
}
    ,
    {
        
"Boxville"
    
}
    ,
    {
        
"Benson"
    
},
    {
"Mesa"},
    {
        
"RC Goblin"
    
}
    ,
    {
        
"Hotring Racer A"
    
}
    ,
    {
        
"Hotring Racer B"
    
}
    ,
    {
        
"Bloodring Banger"
    
}
    ,
    {
        
"Rancher"
    
},
    {
"Super GT"},
    {
        
"Elegant"
    
}
    ,
    {
        
"Journey"
    
}
    ,
    {
        
"Bike"
    
}
    ,
    {
        
"Mountain Bike"
    
}
    ,
    {
        
"Beagle"
    
}
    ,
    {
        
"Cropdust"
    
}
    ,
    {
        
"Stunt"
    
},
    {
"Tanker"},
    {
        
"Roadtrain"
    
}
    ,
    {
        
"Nebula"
    
}
    ,
    {
        
"Majestic"
    
}
    ,
    {
        
"Buccaneer"
    
}
    ,
    {
        
"Shamal"
    
}
    ,
    {
        
"Hydra"
    
}
    ,
    {
        
"FCR-900"
    
},
    {
"NRG-500"},
    {
        
"HPV1000"
    
}
    ,
    {
        
"Cement Truck"
    
}
    ,
    {
        
"Tow Truck"
    
}
    ,
    {
        
"Fortune"
    
}
    ,
    {
        
"Cadrona"
    
}
    ,
    {
        
"FBI Truck"
    
},
    {
"Willard"},
    {
        
"Forklift"
    
}
    ,
    {
        
"Tractor"
    
}
    ,
    {
        
"Combine"
    
}
    ,
    {
        
"Feltzer"
    
}
    ,
    {
        
"Remington"
    
}
    ,
    {
        
"Slamvan"
    
},
    {
"Blade"},
    {
        
"Freight"
    
}
    ,
    {
        
"Streak"
    
}
    ,
    {
        
"Vortex"
    
}
    ,
    {
        
"Vincent"
    
}
    ,
    {
        
"Bullet"
    
}
    ,
    {
        
"Clover"
    
}
    ,
    {
        
"Sadler"
    
},
    {
"Firetruck LA"},
    {
        
"Hustler"
    
}
    ,
    {
        
"Intruder"
    
}
    ,
    {
        
"Primo"
    
}
    ,
    {
        
"Cargobob"
    
}
    ,
    {
        
"Tampa"
    
}
    ,
    {
        
"Sunrise"
    
}
    ,
    {
        
"Merit"
    
},
    {
"Utility"},
    {
        
"Nevada"
    
}
    ,
    {
        
"Yosemite"
    
}
    ,
    {
        
"Windsor"
    
}
    ,
    {
        
"Monster A"
    
}
    ,
    {
        
"Monster B"
    
}
    ,
    {
        
"Uranus"
    
}
    ,
    {
        
"Jester"
    
},
    {
"Sultan"},
    {
        
"Stratum"
    
}
    ,
    {
        
"Elegy"
    
}
    ,
    {
        
"Raindance"
    
}
    ,
    {
        
"RC Tiger"
    
}
    ,
    {
        
"Flash"
    
}
    ,
    {
        
"Tahoma"
    
}
    ,
    {
        
"Savanna"
    
},
    {
"Bandito"},
    {
        
"Freight Flat"
    
}
    ,
    {
        
"Streak Carriage"
    
}
    ,
    {
        
"Kart"
    
}
    ,
    {
        
"Mower"
    
}
    ,
    {
        
"Duneride"
    
}
    ,
    {
        
"Sweeper"
    
},
    {
"Broadway"},
    {
        
"Tornado"
    
}
    ,
    {
        
"AT-400"
    
}
    ,
    {
        
"DFT-30"
    
}
    ,
    {
        
"Huntley"
    
}
    ,
    {
        
"Stafford"
    
}
    ,
    {
        
"BF-400"
    
}
    ,
    {
        
"Newsvan"
    
},
    {
"Tug"},
    {
        
"Trailer 3"
    
}
    ,
    {
        
"Emperor"
    
}
    ,
    {
        
"Wayfarer"
    
}
    ,
    {
        
"Euros"
    
}
    ,
    {
        
"Hotdog"
    
}
    ,
    {
        
"Club"
    
}
    ,
    {
        
"Freight Carriage"
    
},
    {
"Trailer 3"},
    {
        
"Andromada"
    
}
    ,
    {
        
"Dodo"
    
}
    ,
    {
        
"RC Cam"
    
}
    ,
    {
        
"Launch"
    
}
    ,
    {
        
"Police Car (LSPD)"
    
}
    ,
    {
        
"Police Car (SFPD)"
    
},
    {
"Police Car (LVPD)"},
    {
        
"Police Ranger"
    
}
    ,
    {
        
"Picador"
    
}
    ,
    {
        
"S.W.A.T. Van"
    
}
    ,
    {
        
"Alpha"
    
}
    ,
    {
        
"Phoenix"
    
}
    ,
    {
        
"Glendale"
    
},
    {
"Sadler"},
    {
        
"Luggage Trailer A"
    
}
    ,
    {
        
"Luggage Trailer B"
    
}
    ,
    {
        
"Stair Trailer"
    
}
    ,
    {
        
"Boxville"
    
}
    ,
    {
        
"Farm Plow"
    
},
    {
"Utility Trailer"}
};
public 
OnFilterScriptInit()
{
        
///////////////////Next////////////////
        
Next TextDrawCreate(200,342,"Next");
        
TextDrawLetterSize(Next0.5 ,3.5);
        
///////////buy////////////////
        
Buy TextDrawCreate(300,342,"Spawn");
        
TextDrawLetterSize(Buy0.5 ,3.5);
        
///////////////Previous/////////////
        
Back TextDrawCreate(400,346,"Previous");
        
TextDrawLetterSize(Back0.5,3.5);
        print(
"\n--------------------------------------");
        print(
" Spawn Car By Chrism11695");
        print(
"--------------------------------------\n");
        
TextDrawSetSelectable(Nexttrue);
        
TextDrawSetSelectable(Buytrue);
        
TextDrawSetSelectable(Backtrue);
        for(new 
0!= MAX_PLAYERSi++) carid[i] = 399;
        return 
1;
}
 
public 
OnFilterScriptExit()
{
        return 
1;
}
public 
OnPlayerClickTextDraw(playeridText:clickedid)
{
        if(
clickedid == Next)
        {
            if(
carid[playerid] < 612carid[playerid] ++;
        new 
Float:X,Float:Y,Float:Z,Float:rot;
                
GetPlayerPos(playerid,X,Y,Z);
                
GetPlayerFacingAngle(playerid,rot);
                
GetXYInFrontOfPlayer(playeridXY10);
                if(
car[playerid] != INVALID_VEHICLE_IDDestroyVehicle(car[playerid]);
                
car[playerid] = CreateVehicle(carid[playerid],X,Y,Z,rot+270,1,1,100000);
        
SetPlayerVirtualWorld(playerid,2000);
                
SetVehicleVirtualWorld(car[playerid], 2000);
                
GameTextForPlayer(playeridVehicleNames[carid[playerid]-400], 11);
        }
        else if(
clickedid == Buy)
        {
            
carid[playerid] = 399;
                
TextDrawHideForPlayer(playerid,Next);
                
TextDrawHideForPlayer(playerid,Back);
                
TextDrawHideForPlayer(playerid,Buy);
                
CancelSelectTextDraw(playerid);
                
PutPlayerInVehicle(playerid,car[playerid],0);
                
SetPlayerVirtualWorld(playerid,0);
                
SetVehicleVirtualWorld(car[playerid], 0);
        }
        else if(
clickedid == Back)
        {
            if(
carid[playerid] > 399carid[playerid] --;
            new 
Float:X,Float:Y,Float:Z,Float:rot;
                
GetPlayerPos(playerid,X,Y,Z);
                
GetPlayerFacingAngle(playerid,rot);
                
GetXYInFrontOfPlayer(playeridXY10);
                if(
car[playerid] != INVALID_VEHICLE_IDDestroyVehicle(car[playerid]);
                
car[playerid] = CreateVehicle(carid[playerid],X,Y,Z,rot+270,1,1,100000);
        
SetPlayerVirtualWorld(playerid,2000);
                
SetVehicleVirtualWorld(car[playerid], 2000);
                
GameTextForPlayer(playeridVehicleNames[carid[playerid]-400], 11);
        }
        return 
1;
}
CMD:help(playerid,params[])
{
        
SendClientMessage(playerid,0x33AA33AA,"/spawncar - use to select your car to spawn!");
    
SendClientMessage(playerid,0x33AA33AA,"/skip - use to skip to a certain vehicle!");
        return 
1;
}
CMD:skip(playerid,params[])
{
        if(
GetPlayerVirtualWorld(playerid) == 2000)
        {
                if(!
strlen(params)) return SendClientMessage(playerid,0x33AA33AA,"Usage: /skip <Vehicle Name>");
                if(
GetVehicleID(playerid,params) == 0) return 1;
                new 
Float:X,Float:Y,Float:Z,Float:rot;
                
carid[playerid] = GetVehicleID(playerid,params);
                
GetPlayerPos(playerid,X,Y,Z);
                
GetPlayerFacingAngle(playerid,rot);
                
GetXYInFrontOfPlayer(playeridXY10);
                if(
car[playerid] != INVALID_VEHICLE_IDDestroyVehicle(car[playerid]);
                
car[playerid] = CreateVehicle(carid[playerid],X,Y,Z,rot+270,1,1,100000);
            
SetPlayerVirtualWorld(playerid,2000);
                
SetVehicleVirtualWorld(car[playerid], 2000);
                
GameTextForPlayer(playeridVehicleNames[carid[playerid]-400], 11);
        }
        else
        {
            
SendClientMessage(playerid,0x33AA33AA,"Please Type /spawncar before using this command!");
        }
        return 
1;
}
CMD:spawncar(playerid,params[])
{
        
SetPlayerVirtualWorld(playerid,2000);
    
TextDrawShowForPlayer(playerid,Next);
    
TextDrawShowForPlayer(playerid,Buy);
        
TextDrawShowForPlayer(playerid,Back);
        
SelectTextDraw(playerid0xAFAFAFAA);
        return 
1;
}
stock GetVehicleID(playerid,params[])
{
        new 
id 0;
        if(
strfind("Landstalker",params,true) != -1id 400;
        else if(
strfind("Bravura",params,true) != -1id 401;
        else if(
strfind("Buffalo",params,true) != -1id 402;
        else if(
strfind("Linerunner",params,true) != -1id 403;
        else if(
strfind("Perenail",params,true) != -1id 404;
        else if(
strfind("Sentinel",params,true) != -1id 405;
        else if(
strfind("Dumper",params,true) != -1id 406;
        else if(
strfind("Firetruck",params,true) != -1id 407;
        else if(
strfind("Trashmaster",params,true) != -1id 408;
        else if(
strfind("Stretch",params,true) != -1id 409;
        else if(
strfind("Manana",params,true) != -1id 410;
        else if(
strfind("infernus",params,true) != -1id 411;
        else if(
strfind("Voodoo",params,true) != -1id 412;
        else if(
strfind("pony",params,true) != -1id 413;
        else if(
strfind("mule",params,true) != -1id 414;
        else if(
strfind("cheetah",params,true) != -1id 415;
        else if(
strfind("ambulance",params,true) != -1id 416;
        else if(
strfind("levetian",params,true) != -1id 417;
        else if(
strfind("moonbeam",params,true) != -1id 418;
        else if(
strfind("esperanto",params,true) != -1id 419;
        else if(
strfind("taxi",params,true) != -1id 420;
        else if(
strfind("washington",params,true) != -1id 421;
        else if(
strfind("bobcat",params,true) != -1id 422;
        else if(
strfind("mrwhoopee",params,true) != -1id 423;
        else if(
strfind("bfinjection",params,true) != -1id 424;
        else if(
strfind("hunter",params,true) != -1id 425;
        else if(
strfind("premier",params,true) != -1id 426;
        else if(
strfind("enforcer",params,true) != -1id 427;
        else if(
strfind("securicar",params,true) != -1id 428;
        else if(
strfind("banshee",params,true) != -1id 429;
        else if(
strfind("predator",params,true) != -1id 430;
        else if(
strfind("bus",params,true) != -1id 431;
        else if(
strfind("rhino",params,true) != -1id 432;
        else if(
strfind("barracks",params,true) != -1id 433;
        else if(
strfind("hotknife",params,true) != -1id 434;
        else if(
strfind("artictrailer1",params,true) != -1id 435;
        else if(
strfind("previon",params,true) != -1id 436;
        else if(
strfind("coach",params,true) != -1id 437;
        else if(
strfind("cabbie",params,true) != -1id 438;
        else if(
strfind("stallion",params,true) != -1id 439;
        else if(
strfind("rumpo",params,true) != -1id 440;
        else if(
strfind("bandit",params,true) != -1id 441;
        else if(
strfind("romero",params,true) != -1id 442;
        else if(
strfind("packer",params,true) != -1id 443;
        else if(
strfind("monster",params,true) != -1id 444;
        else if(
strfind("admiral",params,true) != -1id 445;
        else if(
strfind("squalo",params,true) != -1id 446;
        else if(
strfind("seasparrow",params,true) != -1id 447;
        else if(
strfind("pizzaboy",params,true) != -1id 448;
        else if(
strfind("tram",params,true) != -1id 449;
        else if(
strfind("artictrailer2",params,true) != -1id 450;
        else if(
strfind("turismo",params,true) != -1id 451;
        else if(
strfind("speeder",params,true) != -1id 452;
        else if(
strfind("reefer",params,true) != -1id 453;
        else if(
strfind("tropic",params,true) != -1id 454;
        else if(
strfind("flatbed",params,true) != -1id 455;
        else if(
strfind("yankee",params,true) != -1id 456;
        else if(
strfind("caddy",params,true) != -1id 457;
        else if(
strfind("solair",params,true) != -1id 458;
        else if(
strfind("topfun",params,true) != -1id 459;
        else if(
strfind("skimmer",params,true) != -1id 460;
        else if(
strfind("pcj600",params,true) != -1id 461;
        else if(
strfind("faggio",params,true) != -1id 462;
        else if(
strfind("freeway",params,true) != -1id 463;
        else if(
strfind("baron",params,true) != -1id 464;
        else if(
strfind("raider",params,true) != -1id 465;
        else if(
strfind("glendale",params,true) != -1id 466;
        else if(
strfind("oceanic",params,true) != -1id 467;
        else if(
strfind("sanchez",params,true) != -1id 468;
        else if(
strfind("sparrow",params,true) != -1id 469;
        else if(
strfind("patriot",params,true) != -1id 470;
        else if(
strfind("quad",params,true) != -1id 471;
        else if(
strfind("coastguard",params,true) != -1id 472;
        else if(
strfind("dinghy",params,true) != -1id 473;
        else if(
strfind("hermes",params,true) != -1id 474;
        else if(
strfind("sabre",params,true) != -1id 475;
        else if(
strfind("rustler",params,true) != -1id 476;
        else if(
strfind("zr350",params,true) != -1id 477;
        else if(
strfind("walton",params,true) != -1id 478;
        else if(
strfind("regina",params,true) != -1id 479;
        else if(
strfind("comet",params,true) != -1id 480;
        else if(
strfind("bmx",params,true) != -1id 481;
        else if(
strfind("burriro",params,true) != -1id 482;
        else if(
strfind("camper",params,true) != -1id 483;
        else if(
strfind("marquis",params,true) != -1id 484;
        else if(
strfind("baggage",params,true) != -1id 485;
        else if(
strfind("dozer",params,true) != -1id 486;
        else if(
strfind("maverick",params,true) != -1id 487;
        else if(
strfind("vcnmaverick",params,true) != -1id 488;
        else if(
strfind("rancher",params,true) != -1id 489;
        else if(
strfind("fbirancher",params,true) != -1id 490;
        else if(
strfind("virgo",params,true) != -1id 491;
        else if(
strfind("greenwood",params,true) != -1id 492;
        else if(
strfind("jetmax",params,true) != -1id 493;
        else if(
strfind("hotring",params,true) != -1id 494;
        else if(
strfind("sandking",params,true) != -1id 495;
        else if(
strfind("blistac",params,true) != -1id 496;
        else if(
strfind("policemaverick",params,true) != -1id 497;
        else if(
strfind("boxville",params,true) != -1id 498;
        else if(
strfind("benson",params,true) != -1id 499;
        else if(
strfind("mesa",params,true) != -1id 500;
        else if(
strfind("goblin",params,true) != -1id 501;
        else if(
strfind("hotringA",params,true) != -1id 502;
        else if(
strfind("hotringB",params,true) != -1id 503;
        else if(
strfind("mesa",params,true) != -1id 504;
        else if(
strfind("bloodringbanger",params,true) != -1id 505;
        else if(
strfind("supergt",params,true) != -1id 506;
        else if(
strfind("elegant",params,true) != -1id 507;
        else if(
strfind("journey",params,true) != -1id 508;
        else if(
strfind("bike",params,true) != -1id 509;
        else if(
strfind("mountainbike",params,true) != -1id 510;
        else if(
strfind("beagle",params,true) != -1id 511;
        else if(
strfind("cropduster",params,true) != -1id 512;
        else if(
strfind("stuntplane",params,true) != -1id 513;
        else if(
strfind("petrol",params,true) != -1id 514;
        else if(
strfind("roadtrain",params,true) != -1id 515;
        else if(
strfind("nebula",params,true) != -1id 516;
        else if(
strfind("majestic",params,true) != -1id 517;
        else if(
strfind("buccaneer",params,true) != -1id 518;
        else if(
strfind("shamal",params,true) != -1id 519;
        else if(
strfind("hydra",params,true) != -1id 520;
        else if(
strfind("fcr900",params,true) != -1id 521;
        else if(
strfind("nrg500",params,true) != -1id 522;
        else if(
strfind("hpv1000",params,true) != -1id 523;
        else if(
strfind("cement",params,true) != -1id 524;
        else if(
strfind("towtruck",params,true) != -1id 525;
        else if(
strfind("fortune",params,true) != -1id 526;
        else if(
strfind("cadrona",params,true) != -1id 527;
        else if(
strfind("fbitruck",params,true) != -1id 528;
        else if(
strfind("williard",params,true) != -1id 529;
        else if(
strfind("forklelseift",params,true) != -1id 530;
        else if(
strfind("tractor",params,true) != -1id 531;
        else if(
strfind("combine",params,true) != -1id 532;
        else if(
strfind("feltzer",params,true) != -1id 533;
        else if(
strfind("remington",params,true) != -1id 534;
        else if(
strfind("slamvan",params,true) != -1id 535;
        else if(
strfind("blade",params,true) != -1id 536;
        else if(
strfind("freight",params,true) != -1id 537;
        else if(
strfind("streak",params,true) != -1id 538;
        else if(
strfind("vortex",params,true) != -1id 539;
        else if(
strfind("vincent",params,true) != -1id 540;
        else if(
strfind("bullet",params,true) != -1id 541;
        else if(
strfind("clover",params,true) != -1id 542;
        else if(
strfind("sadler",params,true) != -1id 543;
        else if(
strfind("firetruckLS",params,true) != -1id 544;
        else if(
strfind("hustler",params,true) != -1id 545;
        else if(
strfind("intruder",params,true) != -1id 546;
        else if(
strfind("primo",params,true) != -1id 547;
        else if(
strfind("cargobob",params,true) != -1id 548;
        else if(
strfind("tampa",params,true) != -1id 549;
        else if(
strfind("sunrise",params,true) != -1id 550;
        else if(
strfind("merit",params,true) != -1id 551;
        else if(
strfind("utilityvan",params,true) != -1id 552;
        else if(
strfind("nevada",params,true) != -1id 553;
        else if(
strfind("yosemite",params,true) != -1id 554;
        else if(
strfind("windsor",params,true) != -1id 555;
        else if(
strfind("monsterA",params,true) != -1id 556;
        else if(
strfind("monsterB",params,true) != -1id 557;
        else if(
strfind("uranus",params,true) != -1id 558;
        else if(
strfind("jester",params,true) != -1id 559;
        else if(
strfind("sultan",params,true) != -1id 560;
        else if(
strfind("stratum",params,true) != -1id 561;
        else if(
strfind("elegy",params,true) != -1id 562;
        else if(
strfind("raindance",params,true) != -1id 563;
        else if(
strfind("tiger",params,true) != -1id 564;
        else if(
strfind("flash",params,true) != -1id 565;
        else if(
strfind("tahoma",params,true) != -1id 566;
        else if(
strfind("savanna",params,true) != -1id 567;
        else if(
strfind("bandito",params,true) != -1id 568;
        else if(
strfind("freightflat",params,true) != -1id 569;
        else if(
strfind("streak2",params,true) != -1id 570;
        else if(
strfind("kart",params,true) != -1id 571;
        else if(
strfind("mower",params,true) != -1id 572;
        else if(
strfind("duneride",params,true) != -1id 573;
        else if(
strfind("sweeper",params,true) != -1id 574;
        else if(
strfind("broadway",params,true) != -1id 575;
        else if(
strfind("tornado",params,true) != -1id 576;
        else if(
strfind("at400",params,true) != -1id 577;
        else if(
strfind("dft30",params,true) != -1id 578;
        else if(
strfind("huntley",params,true) != -1id 579;
        else if(
strfind("stafford",params,true) != -1id 580;
        else if(
strfind("bf400",params,true) != -1id 581;
        else if(
strfind("newsvan",params,true) != -1id 582;
        else if(
strfind("tug",params,true) != -1id 583;
        else if(
strfind("petroltanker",params,true) != -1id 584;
        else if(
strfind("emperor",params,true) != -1id 585;
        else if(
strfind("wayfarer",params,true) != -1id 586;
        else if(
strfind("euros",params,true) != -1id 587;
        else if(
strfind("hotdog",params,true) != -1id 588;
        else if(
strfind("club",params,true) != -1id 589;
        else if(
strfind("freightbox",params,true) != -1id 590;
        else if(
strfind("artictrailer3",params,true) != -1id 591;
        else if(
strfind("andromada",params,true) != -1id 592;
        else if(
strfind("dodo",params,true) != -1id 593;
        else if(
strfind("rccam",params,true) != -1id 594;
        else if(
strfind("launch",params,true) != -1id 595;
        else if(
strfind("copcarls",params,true) != -1id 596;
        else if(
strfind("copcarsf",params,true) != -1id 597;
        else if(
strfind("copcarlv",params,true) != -1id 598;
        else if(
strfind("ranger",params,true) != -1id 599;
        else if(
strfind("picador",params,true) != -1id 600;
        else if(
strfind("swattank",params,true) != -1id 601;
        else if(
strfind("alpha",params,true) != -1id 602;
        else if(
strfind("poenix",params,true) != -1id 603;
        else if(
strfind("bagboxa",params,true) != -1id 606;
        else if(
strfind("bagboxb",params,true) != -1id 607;
        else if(
strfind("stairs",params,true) != -1id 608;
        else if(
strfind("boxville2",params,true) != -1id 609;
        else if(
strfind("farmtrailer",params,true) != -1id 610;
        else if(
strfind("utilityvantrailer",params,true) != -1id 611;
        else
        {
            
SendClientMessage(playerid,0x33AA33AA,"Invalid Vehicle Name");
        }
        return 
id;
}
GetXYInFrontOfPlayer(playerid, &Float:x, &Float:yFloat:distance)
{
    new 
Float:a;
    
GetPlayerPos(playeridxya);
    
GetPlayerFacingAngle(playerida);
    if (
GetPlayerVehicleID(playerid))
    {
      
GetVehicleZAngle(GetPlayerVehicleID(playerid), a);
    }
    
+= (distance floatsin(-adegrees));
    
+= (distance floatcos(-adegrees));

What the front part looks like.

http://gyazo.com/80efae100bfc9b5fd3a78d32afff3b28


This will probably be more easier.

http://pastebin.com/30wePJUM
Reply
#2

u have all problems.
u have any topic where u not posted ur problem?
Reply
#3

I am currently working on fixing it, nearly done
Just found out me pawno is still in 0.3d, so shouldn't take long.
Reply
#4

Sorry for the very late reply, computer shut down and I lost everything.
The complete code is here: http://www.pastebin.com/Wxy9uLfx

You need to install the latest sscanf include, I uploaded it for you here: http://www.mediafire.com/?g65qymvaif9cxd5
Reply
#5

Can you please upload your whole script to pastebin? I won't be able to fix EVERY error without the entire script. PM the link to me if you're worried about security.
Reply
#6

I sent it, may you reply back with your Skype id?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)