11.11.2010, 16:13
hum if a player is in a car the pickup wont do nothing to him
but if he isnt it teles any way to make if he is in a car it teleports?
i think its impossible to do so, but if there is a way can anyone tell me?
but if he isnt it teles any way to make if he is in a car it teleports?
i think its impossible to do so, but if there is a way can anyone tell me?
pawn Код:
if(pickupid == looppickup)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetVehicleModel(playerid),2206.0432,-2413.4558,182.6460);
}
else
{
SetPlayerPos(playerid,2206.0432,-2413.4558,182.6460);
}
}