08.03.2018, 17:14
So as title says, i have problem with coordinats, let me tell you more:
When i login with my account it gets me to where i can switch my player skin
but look how it is on me:
https://imgur.com/a/W0Zlf
How to fix it? If you can give me other custom coordinats for it or something like that
-------------------------------------------
Also, its the same problem with the teleports, i use stock for my teleports
here it is the stock:
Teleport(playerid, Float, Float:y, Float:z, Float:angle, interior, virtualworld, bool:ignoreVehicle)
{
if(!ignoreVehicle && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, x, y, z);
SetVehicleZAngle(vehicleid, angle);
LinkVehicleToInterior(vehicleid, interior);
SetVehicleVirtualWorld(vehicleid, virtualworld);
}
else
{
SetPlayerPos(playerid, x, y, z);
SetPlayerFacingAngle(playerid, angle);
}
SetPlayerInterior(playerid, interior);
SetPlayerVirtualWorld(playerid, virtualworld);
}
And my teleport command needs to look like this:
Teleport(playerid, 835.2564,-1999.7765,12.8672, 0, 0, 0, false);
I hope you know what they are, and when i launch my command it teleports me like this
https://imgur.com/a/h0Qkt
Please help :P
When i login with my account it gets me to where i can switch my player skin
but look how it is on me:
https://imgur.com/a/W0Zlf
How to fix it? If you can give me other custom coordinats for it or something like that
-------------------------------------------
Also, its the same problem with the teleports, i use stock for my teleports
here it is the stock:
Teleport(playerid, Float, Float:y, Float:z, Float:angle, interior, virtualworld, bool:ignoreVehicle)
{
if(!ignoreVehicle && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, x, y, z);
SetVehicleZAngle(vehicleid, angle);
LinkVehicleToInterior(vehicleid, interior);
SetVehicleVirtualWorld(vehicleid, virtualworld);
}
else
{
SetPlayerPos(playerid, x, y, z);
SetPlayerFacingAngle(playerid, angle);
}
SetPlayerInterior(playerid, interior);
SetPlayerVirtualWorld(playerid, virtualworld);
}
And my teleport command needs to look like this:
Teleport(playerid, 835.2564,-1999.7765,12.8672, 0, 0, 0, false);
I hope you know what they are, and when i launch my command it teleports me like this
https://imgur.com/a/h0Qkt
Please help :P