31.10.2011, 11:44
Hi, I got a little question, in servers I see it very often that the spawn is at a custom map, however, when I make a map, and do this under OnPlayerRequestClass:
I see no objects when theres a map placed right at this place where the playerpos, camera pos and cameralookat is...
so, how can I make it that u see the map on the spawn request?
BTW: I'm using icognito streamer for maps...
Thanks in advance
+rep for the helper
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
GameTextForPlayer(playerid, "~r~Teams will be selected after spawning!", 30000, 4);
SetPlayerPos(playerid, 31.0470,22.3785,28.9633);
SetPlayerCameraPos(playerid, 31.0470,22.3785,28.9633);
SetPlayerCameraLookAt(playerid, 31.0470,22.3785,28.9633);
return 1;
}
so, how can I make it that u see the map on the spawn request?
BTW: I'm using icognito streamer for maps...
Thanks in advance
+rep for the helper