Making a spawn
#1

I want to make a spawning system in pawno where if the player connects he or she spawns immediately. I saw when i created a script from scratch they ask you each time to click, i want to spawn people automatically. Can anyone present me with a piece coding to make it happen. Thanks in advance.

I'll rep++
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
 SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
 SpawnPlayer(playerid);
 return 1;
}
i just copied it from wiki ! change spawn info
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply
#3

that explains alot, thanks alot. I have used both that lines just at the wrong callbacks Lol. +Rep for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)