my characters spawn in cj hosue help!
#1

ok well i gave this guy my script and ask him if he can put 3 skin id's to spawn in cj house but he made them all to spawn there but i ask him to fix it but he says he doesn't have time so can y'all help me please i can fix it!!! :'( :'( :'( :'(
Oh and i am also looking for someone to help me script for free because i am broke n there is only 1 person scripting the server!

http://forum.sa-mp.com/index.php?topic=113218.0
Reply
#2

Quote:
Originally Posted by stud4125
ok well i gave this guy my script and ask him if he can put 3 skin id's to spawn in cj house but he made them all to spawn there but i ask him to fix it but he says he doesn't have time so can y'all help me please i can fix it!!!

give me the public OnPlayerRequestClass
Reply
#3

Quote:
Originally Posted by nuriel8833
Quote:
Originally Posted by stud4125
ok well i gave this guy my script and ask him if he can put 3 skin id's to spawn in cj house but he made them all to spawn there but i ask him to fix it but he says he doesn't have time so can y'all help me please i can fix it!!!

give me the public OnPlayerRequestClass
ok here it is
Код:
public OnPlayerRequestClass(playerid, classid)
{

	gPlayerClass[playerid] = classid;

	switch (classid) {

		case 0,1,2,3,4:

		  {

				GameTextForPlayer(playerid, "~p~FBI", 1000, 6);

			}

	  case 5,6,7,8,9,10,11,12:

	    {

				GameTextForPlayer(playerid, "~b~LSPD", 1000, 6);

			}

			case 13,14,15,16,17,18:

		  {

		  	GameTextForPlayer(playerid, "~g~Medic and Fireman", 1000, 6);

			}

			case 19,20,21:

		  {
		  	GameTextForPlayer(playerid, "~g~UF", 1000, 6);

			}
			case 22,23,24:
			{
				GameTextForPlayer(playerid, "~y~ LSA", 1000, 6);

			}
			case 25,26,27:
			{
				GameTextForPlayer(playerid, "~B~ SoS", 1000, 6);

			}
			case 28,29,30:
			{
				GameTextForPlayer(playerid, "~Green~ TBK", 1000, 6);

			}
			case 31,32,33,34,35,36,37,38,39,40:
			{
				GameTextForPlayer(playerid, "~Green~ Civilian", 1000, 6);
			}
	}
  SetPlayerPos(playerid, 2469.5981,-1640.4302,18.6913);
  SetPlayerFacingAngle(playerid, 180.1068);
  SetPlayerCameraPos(playerid, 2471.4749,-1644.8549,17.7152);
  SetPlayerCameraLookAt(playerid, 2469.5981,-1640.4302,18.6913);
  SetPlayerVirtualWorld(playerid, 5);
  return 1;
}
Reply
#4

GameTextForPlayer(playerid, "~g~Medic and Fireman", 1000, 6);

the 6 is the interior id right?
w8 nvm idk how to fix it
Reply
#5

can anyone help?
sorry i am impatient
Reply
#6

Quote:
Originally Posted by stud4125
ok well i gave this guy my script and ask him if he can put 3 skin id's to spawn in cj house but he made them all to spawn there but i ask him to fix it
(fix what?) but he says he doesn't have time so can y'all help me please i can fix it!!! :'( :'( :'( :'(
Oh and i am also looking for someone to help me script for free because i am broke n there is only 1 person scripting the server!

http://forum.sa-mp.com/index.php?topic=113218.0
Reply
#7

Aight so there is one thing.

This is how the skin choosing looks like..It it under OnGameModeInit for me..
And I don't get it. You had like 20 skins spawning at the place you wanted, and now he made 3 new ones and they all spawn in CJ's house. That is not possible, unless he changed it for the old ones..Which I see no reason for..

Anyways, this is how it looks like when you log in and choose skins..

Код:
AddPlayerClass( 0,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
AddPlayerClass( 1,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
AddPlayerClass(269,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
AddPlayerClass(270,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
AddPlayerClass(271,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
AddPlayerClass(265,-468.3654,2208.0317,46.4776,115.0000,4,1,0,0,0,0);
This is an example.
Reply
#8

no the guy made all the skins spawn there instead of my 3 that i wanted
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)