SA-MP Forums Archive
Hey. Need help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hey. Need help. (/showthread.php?tid=206684)



Hey. Need help. - odlemoreten - 04.01.2011

Hey, Im sorry if this is a newbie question but i can't find out of it.

like where can i change where i spawn after a tutorial? i cant find it, i had the cordinates but cant find out where.

and how to add /enter and then u get TP inside a Interior?

Thanks


Re: Hey. Need help. - Sascha - 04.01.2011

at OnGameModeInit
AddPlayerClass(skin, xcoord, ycoord, zcoord, acoord, weapon1, ammo1, weapon2, ammo2, weapon3, ammo3);

for the enter command -> at OnPlayerCommandText
pawn Код:
if(strcmp("/enter", cmdtext, true, 6) == 0){
    SetPlayerInterior(playerid, 1); //replace with your interior id
    return 1;
}
I hope that helped lol


Re: Hey. Need help. - Toreno - 04.01.2011

EDIT:
Deleted.


Re: Hey. Need help. - odlemoreten - 04.01.2011

Nah, because its something setplayerspawn, and when i change that i spawn at the same place