Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerRequestSpawn(playerid)
- {
- StopAudioStreamForPlayer(playerid);
- if(IsConnected[playerid] == 0) return 0;
- /*if(packgun[playerid] == 1 && PlayerInfo[playerid][pPack] < 1)
- {
- SendClientMessage(playerid, COLOR_BLUE, "[INFO]{F5A9A9} You can not use this class.");
- return 0;
- }
- else if(packgun[playerid] == 2 && PlayerInfo[playerid][pPack] < 2)
- {
- SendClientMessage(playerid, COLOR_BLUE, "[INFO]{F5A9A9} You can not use this class.");
- return 0;
- }
- else if(packgun[playerid] == 3 && PlayerInfo[playerid][pPack] < 3)
- {
- SendClientMessage(playerid, COLOR_BLUE, "[INFO]{F5A9A9} You can not use this class.");
- return 0;
- }*/
- if(TeamClan[playerid] == 1 && PlayerInfo[playerid][pTeam] == -1)
- {
- SendClientMessage(playerid, COLOR_BLUE, "[INFO]{F5A9A9} You can not use this class.");
- return 0;
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment