Object to vehicle won't work!
#1

I use this, but when i enter /neon nothing happens. Tryed with police car.
pawn Код:
if(strcmp("/neon", cmdtext, true, 10) == 0)
{
    new neon = CreateObject(18648, 0.0, 0.0, 0.0, 0.0, 0.0, 96.0);
    new neon1 = CreateObject(18648, 0.0, 0.0, 0.0, 0.0, 0.0, 96.0);
    AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, COLOR_WHITE, "neon installed");
    return 1;
}
Reply


Messages In This Thread
Object to vehicle won't work! - by ajwar - 04.01.2011, 08:18

Forum Jump:


Users browsing this thread: 2 Guest(s)