20.02.2011, 14:26
Put in the top of your gamemode:
And, in your command:
Finally:
I hope that i have helped
pawn Код:
new CreatedVehicleVar[MAX_PLAYERS];
pawn Код:
CreatedVehicleVar[playerid] = CreateVehicle....
Finally:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
for(new x = 0; x < 500; x++)
{
if(vehicleid == CreatedVehicleVar[x])
{
//"Let's say that the car is spawned.." ;D
}
}
return 1;
}
I hope that i have helped