31.07.2011, 18:26
Here you go, and two wiki information about these two functions, get more knowledge what they do.
https://sampwiki.blast.hk/wiki/SetSpawnInfo
https://sampwiki.blast.hk/wiki/SpawnPlayer
https://sampwiki.blast.hk/wiki/SetSpawnInfo
https://sampwiki.blast.hk/wiki/SpawnPlayer
pawn Код:
public OnPlayerRequestClass(playerid, classid) {
SetSpawnInfo(playerid, 0, 5, 1642.2006, -2334.4751, -2.6797, 1.0, -1, -1, -1, -1, -1, -1); // You need to rechange it, get nore knowledge from WIKI.
SpawnPlayer(playerid);
return 0;
}