Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:teess(playerid, params[])
- {
- if(sscanf(params, "ii",params[0], params[1])) return 1;
- if(params[0] == 1001)
- {
- mInfo[0][eSessionID] = 0;
- mInfo[0][eTeam] = 1;
- mInfo[0][ePos] = -1;
- mInfo[0][eRound] = 1;
- mInfo[1][eSessionID] = 0;
- mInfo[1][eTeam] = 1;
- mInfo[1][ePos] = -1;
- mInfo[1][eRound] = 1;
- mInfo[2][eSessionID] = 0;
- mInfo[2][eTeam] = 2;
- mInfo[2][ePos] = -1;
- mInfo[2][eRound] = 1;
- mInfo[3][eSessionID] = 0;
- mInfo[3][eTeam] = 2;
- mInfo[3][ePos] = -1;
- mInfo[3][eRound] = 1;
- Iter_Add(EventPlayerSession[0], 0);
- Iter_Add(EventPlayerSession[0], 1);
- Iter_Add(EventPlayerSession[0], 2);
- Iter_Add(EventPlayerSession[0], 3);
- }
- if(params[0] == 1002)
- {
- mInfo[0][eSessionID] = 0;
- mInfo[0][eTeam] = 1;
- mInfo[0][ePos] = -1;
- mInfo[0][eRound] = 1;
- mInfo[1][eSessionID] = 0;
- mInfo[1][eTeam] = 2;
- mInfo[1][ePos] = -1;
- mInfo[1][eRound] = 1;
- mInfo[2][eSessionID] = 0;
- mInfo[2][eTeam] = 1;
- mInfo[2][ePos] = -1;
- mInfo[2][eRound] = 1;
- mInfo[3][eSessionID] = 0;
- mInfo[3][eTeam] = 2;
- mInfo[3][ePos] = -1;
- mInfo[3][eRound] = 1;
- Iter_Add(EventPlayerSession[0], 0);
- Iter_Add(EventPlayerSession[0], 1);
- Iter_Add(EventPlayerSession[0], 2);
- Iter_Add(EventPlayerSession[0], 3);
- }
- if(params[0] == 0)
- {
- mpSettings[mpStatus] = 1;
- mpSettings[mpRegister] = 1;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement