03.01.2014, 06:25
Hi everyone,
I hope you can help me, before the release of the current 0.3x samp version i had the following code to select your class and (you look in the mirror to select a class and then spawn in the world)
But with the current version of samp i can still sellect the skin i want to use, but once you click the "spawn" button you just spawn in a grey area.
Can anyone point the the right direction?
I think it has something to do the with SetPlayerInterior(playerid,14); are the interior codes changed with the last release of samp?
Thanks for your time reading this thread.
code:
------------------------------------------------
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.8008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-40.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.8008,1002.0234);
}
------------------------------------------------
I hope you can help me, before the release of the current 0.3x samp version i had the following code to select your class and (you look in the mirror to select a class and then spawn in the world)
But with the current version of samp i can still sellect the skin i want to use, but once you click the "spawn" button you just spawn in a grey area.
Can anyone point the the right direction?
I think it has something to do the with SetPlayerInterior(playerid,14); are the interior codes changed with the last release of samp?
Thanks for your time reading this thread.
code:
------------------------------------------------
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.8008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-40.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.8008,1002.0234);
}
------------------------------------------------