[AJUDA]Text no Veiculo
#1

Olб pessoas ^^
Bom gente to me batendo pra fazer uma onda aqui,
tipo eu to tentando fazer pra quando o player criar um carro ficar o nome e o id dele em cima do carro
Veiculo de: Fulano
Id: Tals
Mas num to conseguindo -.-'

Ta aki a funзгo que cria o veнculo:
pawn Код:
stock aCreateThing(playerid, thingid, orderid)
{
    new Float:X, Float:Y, Float:Z, Float:Angle;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Angle);
    if(thingid != 597)
    {
    Vehicle[orderid] = CreateVehicle(thingid, X, Y, Z + 3, Angle, random(126), random(126), 30);
    }
    else
    {
        Vehicle[orderid] = CreateVehicle(thingid, X, Y, Z + 3, Angle, 0, 1, 30);
    }
    PutPlayerInVehicle(playerid, Vehicle[orderid], 0);
    TogglePlayerControllable(playerid, true);
    return 1;
}
Aki um exemplo de comando:
pawn Код:
if (strcmp("/infernus", cmdtext, true, 10) == 0)
{
aCreateThing(playerid, 411, 0);
return 1;
}
Ajuda ae ^^
Reply


Messages In This Thread
[AJUDA]Text no Veiculo - by Edu33 - 02.05.2012, 15:18
Re: [AJUDA]Text no Veiculo - by .FuneraL. - 02.05.2012, 15:49
Re: [AJUDA]Text no Veiculo - by zbt - 02.05.2012, 15:51
Re: [AJUDA]Text no Veiculo - by Edu33 - 02.05.2012, 21:58
Re: [AJUDA]Text no Veiculo - by .FuneraL. - 02.05.2012, 22:00
Re: [AJUDA]Text no Veiculo - by jamaica90 - 02.05.2012, 22:39
Re: [AJUDA]Text no Veiculo - by zbt - 03.05.2012, 01:40
Re: [AJUDA]Text no Veiculo - by Edu33 - 03.05.2012, 11:39
Re: [AJUDA]Text no Veiculo - by jamaica90 - 03.05.2012, 21:33
Re: [AJUDA]Text no Veiculo - by Lуs - 03.05.2012, 21:41

Forum Jump:


Users browsing this thread: 1 Guest(s)