Function. - 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: Function. (
/showthread.php?tid=139814)
Function. -
zyzuinm - 06.04.2010
Hi,
I want to ask about a one function ... When a player has connected him immediately connected to the server. - Well you know without having pressed the SHIFT ... So I wait for your answer, thank you.
Quote:
Originally Posted by Zefiro.
By the way ... Sorry for bad English.
|
Re: Function. -
MafiaGuy™ - 06.04.2010
You mean spawning the player ??
under OnPlayerRequestClass put SpawnPalyer(playerid);
Re: Function. -
Hiddos - 06.04.2010
pawn Код:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
return 1;
}
Re: Function. -
zyzuinm - 06.04.2010
Quote:
Originally Posted by MafiaGuy™
You mean spawning the player ??
|
Yes...
_________________________________________________
Quote:
Originally Posted by Hiddos
pawn Код:
public OnPlayerConnect(playerid) { SpawnPlayer(playerid); return 1; }
|
Quote:
Originally Posted by MafiaGuy™
under OnPlayerRequestClass put SpawnPalyer(playerid);
|
Ok. Thanks... i will try it.