02.11.2013, 16:52
You got two choices, either AddPlayerClass or SetPlayerPos(playerid,xpos,ypos,zpos); you can get the XYZ(spawn point) by going to it ingame and then type /save [COMMENT] << this is optional.
http://prntscr.com/21fwus
If you want to use AddPlayerClass then go to Documents > GTA SA user files > samp > savedposition ^ as shown above in the image then go to savedposition, copy the whole line
After that go to pawno.exe, open your gamemode, press CTRL + F write OnGameModeinit you will see this
At the begin of the bracket ^ paste your code
http://prntscr.com/21fwus
If you want to use AddPlayerClass then go to Documents > GTA SA user files > samp > savedposition ^ as shown above in the image then go to savedposition, copy the whole line
Код:
Example: AddPlayerClass(107,2511.7729,-1678.3658,13.5469,45.2197,0,0,0,0,0,0);
Код:
public OnGameModeInit() { AddPlayerClass(107,2511.7729,-1678.3658,13.5469,45.2197,0,0,0,0,0,0); return 1; }
At the begin of the bracket ^ paste your code