Using GZ Zone
#1

Can anybody spot what I'm doing wrong? I can't seem to get it to show on the map.

Regards
Код:
public EnterPlayerIntoLobby(playerid);
public EnterPlayerIntoLobby(playerid) // called when players are sent to lobby
{
	SetPlayerPos(playerid,-1,-1,-1); // Spawn point in lobby.
	ResetPlayerWeapons(playerid);
	SetPlayerVirtualWorld(playerid,0);
	TogglePlayerControllable(playerid,1);
	TogglePlayerSpectating(playerid,0);
	SetTimerEx("SpawnPlayerInGame",6000,false,"i",playerid);
	CreateSafeZone();
	GZ_ShapeShowForPlayer(playerid, SafeZone, -1); // This needs moving and changing to SHOWFORALL after lobby
	printf("Showing safezone for player");
	return 1;
}
forward  CreateSafeZone();
public CreateSafeZone()
{
	SafeZone = GZ_ShapeCreate(CIRCUMFERENCE,135.5993,-71.9018,50,COLOR_RED,5.0,0.0,360.0);
	printf("Creating Safezone");
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)