Making a spawn

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++

pawn Код:
public OnPlayerConnect(playerid)
 SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
 return 1;
i just copied it from wiki ! change spawn info

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

Forum Jump:

Users browsing this thread: 1 Guest(s)