Tag meine Fischbrote,
Warum funktioniert das nicht.
ocmd:fahrrad(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,13,1773.8500,-1909.6936,13.5501))
{
new Float:X,Float:Y,Float:Z,Float:ROT;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,ROT);
new fahrrad;
fahrrad=CreateVehicle(510,X,Y,Z,ROT,-1,-1,0);
PutPlayerInVehicle(playerid,fahrrad,0);
}
return 1;
}
2. Problem :
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,1759.3895,-1895.4817,13.5610);
SetPlayerFacingAngle(playerid,276.1759);
SetPlayerCameraPos(playerid,1761.8105,-1895.3929,13.5616);
SetPlayerCameraLookAt(playerid,1761.8105,-1895.3929,13.5616);
return 1;
}
Er Soll mir am LS Haubtbahnhof Spawnen doch es Funktioniert nicht.
Er Spawnt immer in LV
MFG FerienFreak