2questions.
#1

hello all, well i have 2q about TDM server...
1) how can i disable default gun shop checkpoints?
2) how can i do that: if players got score < 3500 (t.y 3499 or < ) he will cant join SWAT team? (gTeam ID 3). ( im using this tut: https://sampforum.blast.hk/showthread.php?tid=160810
Reply
#2

1) DisableInteriorEnterExits(); under OnGameModeInit. However it'll disable ALL enter and exits from single player.

2) I'll show you how to add that from the tutorial, however, it won't be to your code as such, but you'll guess how to.

pawn Код:
if(classid == 1 && GetPlayerScore(playerid) >= 3500)//Means more then or equal to 3500 score
{
     gTeam[playerid] = POLICE;
}
That example was for the police team, just change it to go with your swat team.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)