Bot nгo conecta..
#1

Eae pessoal, olha eu aqui denovo hehe
Eu gravei um bot, e instalei certinho, so que nгo quer funcionar, nгo sei porque, olha:

pawn Код:
//topo

new carro2;

//ongamemode

ConnectNPC("motorista1","linha1");
carro2 = AddStaticVehicle(437,423.6150,-1775.7356,5.4139,269.7897,86,86);

//onplayerspaw

if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
        if(!strcmp(npcname, "motorista1", true)) //Checking if the NPC's name is MyFirstNPC
        {
        PutPlayerInVehicle(playerid, carro2, 0); //Putting the NPC into the vehicle we created for it.
        busao = Create3DTextLabel( "INICIANTE - AGENCIA EMPREGO LS - CONDOMINIO LS", verde, 0.0, 0.0, 0.0, 50.0, 0, 1 );
        Attach3DTextLabelToVehicle( busao, carro2, 0.0, 0.0, 2.0);
        }
        return 1;
    }


Como pode ver, ele nгo ta conectado, nao sei porque;
Reply


Messages In This Thread
Bot nгo conecta.. - by rafa3dify - 18.10.2010, 21:06
Re: Bot nгo conecta.. - by rafa3dify - 21.10.2010, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)