Help Needed, Again. -
spiderr - 13.10.2013
Hello,
I have United GAme Roleplay II. Whenever, I run this server, It asks for spawn at first, but the spawn has not any other character. It's blank. I want to remove this Spawn, I want that whenever this server runs, it should be spawn automatically.
Thank You.
Re: Help Needed, Again. - Astralis - 13.10.2013
Quote:
Originally Posted by spiderr
Hello,
I have United GAme Roleplay II. Whenever, I run this server, It asks for spawn at first, but the spawn has not any other character. It's blank. I want to remove this Spawn, I want that whenever this server runs, it should be spawn automatically.
Thank You.
|
https://sampforum.blast.hk/showthread.php?tid=450253 you should ask for things like that there, people should know better.
Re: Help Needed, Again. -
spiderr - 13.10.2013
Quote:
Originally Posted by Neonman
|
There I have posted another problem, Haven't got any response yet. "Scripting Help" is a better section to ask for help.
Re: Help Needed, Again. -
DanishHaq - 13.10.2013
After the player logs in / registers, just set a timer for 250 milliseconds and then spawn the player.
Re: Help Needed, Again. -
Zex Tan - 13.10.2013
I'm not sure, but you could just Add
pawn Код:
SetSpawnInfo(playerid, x, y, z, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
Re: Help Needed, Again. -
spiderr - 13.10.2013
Quote:
Originally Posted by DanishHaq
After the player logs in / registers, just set a timer for 250 milliseconds and then spawn the player.
|
How to do that?
Re: Help Needed, Again. -
DanishHaq - 13.10.2013
Well find where the player registers or logs in completely, and successfully, and then just set the timer and forward the player ID, a bit like...:
pawn Код:
forward SpawnTimer(playerid);
public SpawnTimer(playerid)
{
SpawnPlayer(playerid);
return 1;
}
And wherever the player logs in or registers successfully, just put:
pawn Код:
SetTimerEx("SpawnTimer", 250, false, "i", playerid);
Re: Help Needed, Again. -
xVIP3Rx - 13.10.2013
pawn Код:
SetTimerEx("SpawnPlayer", 250, false, "u", playerid);
forward SpawnPlayer(playerid);
public SpawnPlayer(playerid)
{
SetSpawnInfo(playerid, x, y, z, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return 1;
}
Re: Help Needed, Again. -
spiderr - 13.10.2013
I don't understand where to paste etc..
I have uploaded .pwn in solid files, below is the link of it.
Can you please tell me what to edit here?
http://www.solidfiles.com/d/7bb2417940/
My server IP is 79.143.190.210:7777 .. you can check GM by running.