Scripting Help [TEAMS/GANGS]
#27

Remove the
pawn Code:
{
if(GetPlayerTeam(playerid) == TEAM_AGENTS)
{
SetPlayerPos(playerid,-2136.3921,-124.4632,36.5191);//Chnage this to the spawnpoint of your Agents Team!
SetPlayerHealth(playerid,100);
}
else if(GetPlayerTeam(playerid) == TEAM_WORKERS)
{
SetPlayerHealth(playerid,100);
SetPlayerPos(playerid,-2016.3192,130.2446,27.6875);//Chnage this to the spawnpoint of your Workers Team!
}
so you only have the
pawn Code:
public OnPlayerSpawn(playerid)
{
    return 1;
}
and add
pawn Code:
AddPlayerClass(Workersskin,-2016.3192,130.2446,27.6875,0,0,0,0,0,0,0); //Change the last 6 0's to the weapon/ammo ids
AddPlayerClass(Agentsskin,-2136.3921,-124.4632,36.5191,0,0,0,0,0,0,0); //Same here
It should work
Reply


Messages In This Thread
Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 18:10
Re: Scripting Help [TEAMS/GANGS] - by judothijs - 08.09.2011, 18:15
Re: Scripting Help [TEAMS/GANGS] - by austin070 - 08.09.2011, 18:16
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 18:18
Re: Scripting Help [TEAMS/GANGS] - by Daniel-92 - 08.09.2011, 18:22
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 18:22
Re: Scripting Help [TEAMS/GANGS] - by judothijs - 08.09.2011, 18:27
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 18:42
Re: Scripting Help [TEAMS/GANGS] - by Daniel-92 - 08.09.2011, 18:47
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 18:54
Respuesta: Scripting Help [TEAMS/GANGS] - by Daniel-92 - 08.09.2011, 19:00
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:03
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:05
Re: Scripting Help [TEAMS/GANGS] - by Daniel-92 - 08.09.2011, 19:06
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:07
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:10
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:13
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:14
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:16
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:22
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:25
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:28
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:30
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:34
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:36
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:38
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 19:39
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 19:42
Re: Scripting Help [TEAMS/GANGS] - by AeroBlast - 08.09.2011, 20:01
AW: Scripting Help [TEAMS/GANGS] - by Santox14 - 08.09.2011, 20:12
Re: Scripting Help [TEAMS/GANGS] - by MadeMan - 08.09.2011, 20:15
Re: Scripting Help [TEAMS/GANGS] - by judothijs - 10.09.2011, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)