Help spawn
#1

I created new gamemode

but i have spawning cords: (it SF)
1958.3783, 1343.1572, 15.3746

and code:
Код:
public OnPlayerRequestSpawn(playerid)
{
  SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
and he spawn LV-s.

Help ? :/
Reply
#2

Help! Omfg
Reply
#3

  • wait for 24 hours before double posting, not less than half an hour..
  • Why not OnPlayerSpawn() ? Do you understand what you are doing? ..or ?
Luxeon
Reply
#4

Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	new PlayerName[MAX_PLAYER_NAME],
  string[128];
  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  format(string, sizeof(string), "%s has spawned.", PlayerName);
  SendClientMessageToAll(0xFFFFFFFF, string);
	return 1;
}
I did, but still spawn same in LV-s
Reply
#5

You got wrong coordinates. The current coordinates are set to The Strip in LV
Reply
#6

Thanks,

In the class where can to change skins, but skins doenst show, how do i make to show skin ?
Reply
#7

You need to edit this part:

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
SetPlayerPos is where the player is setted in the skinselectionmenubackground.
SetPlayerCameraPos is from where the camera "looks" at the skin.
SetPlayerCameraLookAt is hwere the Camera looks, usually the same position where the Player is located.

You can add if you want more stuff like interior or Anim etc.
Reply
#8

It have. But the skins/classes doenst show.. (invisible)

Reply
#9

you dont get it what i mean: you need to edit this part else it wont show anything.
Reply
#10

I dont know how to make skins/classes show..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)