Hide N Seek problems
#1

Solved
Reply
#2

SetSpawnInfo(playerid,..);
SpawnPlayer(playerid);
Reply
#3

not helpful
Reply
#4

Did you label the teams at all?
Reply
#5

yes with Stock
Reply
#6

Its very simple, but im going to show you an example you might need to change the Variables to your kind of script.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    switch(GetPlayerTeam(playerid)) // Change to gTeam if your using that as Team checking.
    {
        case TEAM_SEEKER: // Seeker Team
        {
            SetPlayerTeam(playerid,TEAM_HIDER); // Transfers the person to hider team after he dies.
        }
    }
    return 1;
}
Reply
#7

so when that player that got turned into the seeker will change to the orginal team after he dies right?
Reply
#8

Well basicly it checks when the person dies if the person is on TEAM_SEEKER aka Seeker Team and it'll transfer him to TEAM_HIDER aka the Hider Team
Reply
#9

thank u so much
Reply
#10

Dude its not working here the code

Quote:

switch(gTeam[playerid]) // Change to gTeam if your using that as Team checking.
{
case TEAM_ZOMBIE: // Seeker Team
{
SetPlayerTeam(playerid,TEAM_HUMAN); // Transfers the person to hider team after he dies.
Hider(playerid);
}
}
return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)