spawning...
#1

Hello,i wanted to make tut system if people will get online they will see tut,but the prob is,it wont spawn the player,it will show the onplayerequestspawn thing,i added SpawnPlayer(playerid); like hundred times but it wont work

heres the code

Код:
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
			SpawnPlayer(playerid);
		  SetPlayerPos(playerid,0.000,0.000,0.000);
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
		  SendClientMessage(playerid,0x008000FF, "");
   		SetPlayerCameraPos(playerid, 2249.2661,-1195.3722,1030.7656);
			SetPlayerCameraLookAt(playerid, 2242.6453,-1188.2625,1029.7969);
      SendClientMessage(playerid,0x008000FF, "You Choosed to see the tutorial!good for you!");
      SendClientMessage(playerid,COLOR_WHITE, "------FACTIONS------");
      SendClientMessage(playerid,COLOR_WHITE, "There is many factions you can join");
      SendClientMessage(playerid,COLOR_WHITE, "Like : Teachers,Bullies,Skaters or nerds");
      SendClientMessage(playerid,COLOR_WHITE, "All of them has own hanging place.");
      SendClientMessage(playerid,COLOR_WHITE, "If you can find it,maybe you can join it.");
			SetTimer("Tutsteps",15000,1);
			TutorialStage[playerid] = 1;
			TogglePlayerControllable(playerid,0);
Reply
#2

BUMP!
Reply
#3

Don't bump your own topic within 24 hours.
And I saw a topic like this a few weeks ago, so search and you can find It.

Don't tell me you can't find It, If I can, you can.

I typed two words and It was the very first topic in the search results.
Reply
#4

Quote:
Originally Posted by mavtias
Don't bump your own topic within 24 hours.
It's 12, not 24.
Reply
#5

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by mavtias
Don't bump your own topic within 24 hours.
It's 12, not 24.
I'm almost positive that It was 24h limit not too long ago. But It seems to be changed, I see It's 12h now.

My mistake.
Reply
#6

It was always 12h (even when this rule came for the first time on this forum) as far as I can remember. But that's not really important, we're going too much with offtopic.

@Fog™: Adding one function 10x won't help, debug your code and test it and help yourself with the search feature.
Reply
#7

When player gets to classelection, set a timer that will spawn him/her after 50 milliseconds for example.
Reply
#8

And check if player had tutorial before please
Reply
#9

the player is in tutorial,but it wont spawn him,i dont really understand why.
Reply
#10

Dont spawn him? It will work w/o spawnplayer (cam thingies) an spawn after tut?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)