Ayuda 3D Labbel
#2

pawn Код:
new Text3D: Owner[MAX_PLAYERS];

if (!strcmp(cmdtext, "/lock", true))
{
    new szString[128], Nombre[24], Float: x, Float: y, Float: z;
    GetPlayerName(playerid, Nombre, sizeof(Nombre));
    GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
    format(szString, sizeof(szString), "Locked by %s", Nombre);
    Owner[playerid] = Create3DTextLabel(szString, 0xFFFFFFAA, 0.0, 0.0, 0.0, 40.0, 0);
    Attach3DTextLabelToVehicle(Owner[playerid], GetVehiclePos(playerid), x, y, z);
    // Demas funciones.
    return 1;
}
Creo que ahi deberia funcionar solo aсadele la funcion para bloquear el vehiculo.
Saludos.
Reply


Messages In This Thread
Ayuda 3D Labbel - by RatHack - 25.07.2011, 16:17
Respuesta: Ayuda 3D Labbel - by Ari3l - 25.07.2011, 16:43
Respuesta: Ayuda 3D Labbel - by RatHack - 25.07.2011, 17:03
Respuesta: Ayuda 3D Labbel - by Ari3l - 25.07.2011, 17:09
Respuesta: Ayuda 3D Labbel - by RatHack - 25.07.2011, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)