GetPlayerVehicleID not working.
#6

pawn Код:
if(strcmp(cmd, "/start", true) == 0)
    {
    if (mission2[playerid] == 1)
    {
    new vehicle;
    vehicle = GetPlayerVehicleID(playerid);
    if(GetVehicleModel(vehicle ) == 548)  // lmao you hade 596 thats lspd cop car cargobob id is 548
    {
    SendClientMessage(playerid,NICESKY,"[MISSION] Good job. Now fly the Cargobob to the Big Ear.");
    SendClientMessage(playerid,NICESKY,"[MISSION] Once there, use /loadbombs to load the bombs.");
    }
    else
    {
    SendClientMessage(playerid,NICESKY,"[MISSION] Wrong vehicle.");
    }
    }
    return 1;
   }
this will work for cargobob model id only
Reply


Messages In This Thread
GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:24
Re: GetPlayerVehicleID not working. - by member - 01.10.2009, 16:27
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:36
Re: GetPlayerVehicleID not working. - by Correlli - 01.10.2009, 16:37
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:39
Re: GetPlayerVehicleID not working. - by shady91 - 01.10.2009, 16:41
Re: GetPlayerVehicleID not working. - by JoeyZack - 01.10.2009, 16:42
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:45
Re: GetPlayerVehicleID not working. - by Correlli - 01.10.2009, 16:45
Re: GetPlayerVehicleID not working. - by Striker_Moe - 01.10.2009, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)