24.06.2012, 19:28
Oh god, I failed a little hard there. My bad.
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, fX, fY, fZ);
}
else
{
SetPlayerPos(playerid, fX, fY, fZ);
}
return 1;
}