19.05.2013, 00:25
PHP код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
new Car = GetPlayerVehicleID(playerid);
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
}else{
SetVehiclePos(Car,fX,fY,fZ);
}
return 1;
}