Help with Teams
#3

PHP код:
CMD:deathmatch(playeridparams[])
{
    
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Team Deathmatch...","Team 1\nTeam 2","Select""Cancel")
    return 
1;
}
if(
dialogid == 1)
{
    if(
reponse)
    {
        if(
listitem == 0)
          {
            
SetPlayerTeam(playerid1);
            
SetPlayerPos(playeridx,y,z);
        }
        else if(
listitem == 1)
          {
            
SetPlayerTeam(playerid2);
            
SetPlayerPos(playeridx,y,z);
        }
    }

Reply


Messages In This Thread
Help with Teams - by Ehab1911 - 05.08.2011, 20:41
Re: Help with Teams - by Whizion - 05.08.2011, 20:46
Re: Help with Teams - by Kush - 05.08.2011, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)