[Ajuda] Carro para admin
#5

Код:
cara eu n sei o que aconteceu... Sу sei que esta dando um ERRO "vid" 
(C:\Users\usuario XD\Desktop\Servidor\Server de test\brasil_play_fortes_rpg_homehots_net_www.homehots.net\Brasil Play Fortes RPG HomeHots.net\gamemodes\PlayFortes.pwn(13514) : error 017: undefined symbol "vid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.)

Da um olhada

// Carros ADM

new AdminCars[15];



public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(vid==AdminCars[0]||vid==AdminCars[1]||vid==AdminCars[2]||vid==AdminCars[3]||vid==AdminCars[4]||vid==AdminCars[5]||vid==AdminCars[6]||vid==AdminCars[7]||vid==AdminCars[8]||vid==AdminCars[9]||vid==AdminCars[10]||vid==AdminCars[11]||vid==AdminCars[12]||vid==AdminCars[13]||)
        {
            if(PlayerInfo[playerid][pAdmin] == 1) { }
            else
            {
                SendClientMessage(playerid,COLOR_GREY,"O que vc Pensa que esta fazendo?!"); // Mostra a msg pro cara
                RemovePlayerFromVehicle(playerid);//Tira o cara do veiculo
                TogglePlayerControllable(playerid, 1);//deixa ele com movimento (playerid, 0) deixa ele congelado
            }
        }


public OnGameModeInit()
{
AdminCars[0] = AddStaticVehicleEx(520,51.8000000,1510.1999500,14.5000000,86.0000000,-1,-1,15); //Hydra
AdminCars[1] = AddStaticVehicleEx(520,48.1000000,1540.0000000,14.2000000,94.0000000,-1,-1,15); //Hydra
AdminCars[2] = AddStaticVehicleEx(451,-8.6000000,1565.5000000,12.8000000,172.0000000,-1,-1,15); //Turismo
AdminCars[3] = AddStaticVehicleEx(411,-5.6000000,1564.8000500,12.9000000,170.0000000,255,5,15); //Infernus
AdminCars[4] = AddStaticVehicleEx(415,-2.0000000,1564.0999800,12.9000000,170.0000000,3,-1,15); //Cheetah
AdminCars[5] = AddStaticVehicleEx(429,9.9000000,1562.9000200,12.8000000,180.0000000,255,255,15); //Banshee
AdminCars[6] = AddStaticVehicleEx(506,13.1000000,1562.8000500,12.8000000,178.0000000,26,-1,15); //Super GT
AdminCars[7] = AddStaticVehicleEx(559,16.6000000,1562.3000500,12.8000000,178.0000000,208,222,15); //Jester
AdminCars[8] = AddStaticVehicleEx(425,-17.1000000,1500.3000500,16.5000000,0.0000000,-1,-1,15); //Hunter
AdminCars[9] = AddStaticVehicleEx(535,37.5000000,1552.5999800,12.9000000,90.0000000,245,-1,15); //Slamvan
AdminCars[10] = AddStaticVehicleEx(494,28.0000000,1559.1999500,12.7000000,168.0000000,238,255,15); //Hotring
AdminCars[11] = AddStaticVehicleEx(557,33.4000000,1524.9000200,13.6000000,90.0000000,255,255,15); //Monster B
AdminCars[12] = AddStaticVehicleEx(463,31.0000000,1558.6999500,12.6000000,174.0000000,-1,-1,15); //Freeway
AdminCars[13] = AddStaticVehicleEx(522,33.4000000,1558.8000500,12.6000000,169.5000000,233,255,15); //NRG-500
Reply


Messages In This Thread
[Ajuda] Carro para admin - by wallacematheus - 30.09.2010, 13:28
Re: [Ajuda] Carro para admin - by Macintosh - 30.09.2010, 14:11
Re: [Ajuda] Carro para admin - by [BEP]AcerPilot - 30.09.2010, 14:13
Re: [Ajuda] Carro para admin - by Gabriel_Halls - 30.09.2010, 15:09
Re: [Ajuda] Carro para admin - by elsimei - 15.02.2014, 16:27

Forum Jump:


Users browsing this thread: 6 Guest(s)