How to Save Spawn
#1

how to Save a Spawn like u join a sever u pick a class and u spawn
i need help on spawning
Reply
#2

Go in game and do /save. Then go to your searchbar in the startup menu and type 'savedpositions' then click that and you have your position.
Reply
#3

Open sa-mp debug.
Goto any place you want to and type /save
It will save the co-ordinates to a folder in Mydocuments/GTA-SAUserFiles/SA-MP
Get the co-ordinates
Search "OnPlayerSpawn"
Add "SetPlayerPos - co-ordinates" or check any gamemode it is like

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    printf("OnPlayerRequestClass(%d, %d)", playerid, classid);
    // Random
//  TextDrawHideForPlayer(playerid,login);
    SetPlayerPos(playerid, 2000.3337, 1586.2427, 17.6131);
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 47.6315);
    SetPlayerCameraPos(playerid, 1996.8337, 1590.2427, 19.1131);
    SetPlayerCameraLookAt(playerid, 2000.3337, 1586.2427, 17.6131);
        return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)