I need Help to make /setspawn
#1

Hey guys ! I am here to ask "How to make a /setspawn"
I still begginer and i dont know change spawn !

Ex /setspawn
The Gangzone or capture own Team Indonesia , so only Team indonesia can setspawn in there
The Gangzone or capture is own Team Japan , so only Team Japan can set spawn in there

And Please use dialog_List
Reply
#2

Basically
Код:
public OnPlayerSpawn(playerid)
{
	if(Team == Indonesia) SetPlayerPos(playerid, iPosX, iPosY, iPosZ);
	else if(Team == Japan) SetPlayerPos(playerid, jPosX, jPosY, jPosZ); 
	return 1;
}
command:
Код:
CMD:setspawn(playerid)
{
	if(Team == Indonesia) SetPlayerPos(playerid, iPosX, iPosY, iPosZ);
	else if(Team == Japan) SetPlayerPos(playerid, jPosX, jPosY, jPosZ); 
	return 1;
}
Reply
#3

Hey Fina4l ! That only Team ! I need Team And Gangzone or capture !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)