Not showing marker above the vehicle ?
#1

Title says all

pawn Код:
public OnPlayerSpawn(playerid)
{
SetVehicleParamsForPlayer(ObjectiveVehicle,playerid,true,false);
    SetVehicleParamsForPlayer(ObjectiveVehicle2,playerid,true,false);
    SetVehicleParamsForPlayer(ObjectiveVehicle3,playerid,true,false);
    SetVehicleParamsForPlayer(ObjectiveVehicle4,playerid,true,false);
    SetVehicleParamsForPlayer(ObjectiveVehicle5,playerid,true,false);
    SetVehicleParamsForPlayer(ObjectiveVehicle6,playerid,true,false);
return 1;
}
Reply
#2

OnVehicleSpawn ftw
Reply
#3

And.. how would i be making there the markers on the vehicles? As it has playerid in the code :S
Reply
#4

Quote:
Originally Posted by Seven.
Посмотреть сообщение
And.. how would i be making there the markers on the vehicles? As it has playerid in the code :S
'cause you've done it wrong - wait, you only wanted it showing for the playerid? But no exceptions so I don't know what you're doing with this.
Reply
#5

No.. for everyone.
Reply
#6

Try putting it here:

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}
Use forplayerid instead of playerid

and of course

if(vehicle == ObjectiveVehicle1) - put this in there, so it checks if the vehicle is the objective vehicle. Replace the name with yours
Reply
#7

Quote:
Originally Posted by Seven.
Посмотреть сообщение
No.. for everyone.
Well why didn't you say that in your first post..?
Reply
#8

Well.. everyone spawns, don't they? So i thought it would be clear enough...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)