needhelp /safedrugs and /safemats
#4

You can do it by many ways. One of them and most used is:
pawn Код:
new gTeam[MAX_PLAYERS];  // Top of script, for defined which team is the player from
          #define SX 1
pawn Код:
On the callback OnPlayerClassRequest
          if(classid == 0) return gPlayer[playerid]=SX;

And according commands, and classes, you can add/define the teams/restrictions

This is just a basic example. If the player choose the class ID 0 (CJ CHARACTER), his team will be the defined team "SX".
Reply


Messages In This Thread
needhelp /safedrugs and /safemats - by jamal1992 - 14.12.2010, 22:23
Re: needhelp /safedrugs and /safemats - by blackwave - 14.12.2010, 22:45
Re: needhelp /safedrugs and /safemats - by jamal1992 - 14.12.2010, 23:01
Re: needhelp /safedrugs and /safemats - by blackwave - 14.12.2010, 23:10
Re: needhelp /safedrugs and /safemats - by jamal1992 - 14.12.2010, 23:23
Re: needhelp /safedrugs and /safemats - by blackwave - 14.12.2010, 23:35
Re: needhelp /safedrugs and /safemats - by jamal1992 - 15.12.2010, 09:31
Re: needhelp /safedrugs and /safemats - by jamal1992 - 15.12.2010, 13:40
Re: needhelp /safedrugs and /safemats - by jamal1992 - 15.12.2010, 17:11
Re: needhelp /safedrugs and /safemats - by jamal1992 - 15.12.2010, 22:56

Forum Jump:


Users browsing this thread: 4 Guest(s)