11.07.2016, 17:43
Nгo hб dificuldade em usar essa funзгo! pode ver aqui:
- https://sampwiki.blast.hk/wiki/AddPlayerClassEx
No cуdigo acima, estou criando 2 grupos e quem faz partes destes grupos nгo conseguem fazer teamkill.
- https://sampwiki.blast.hk/wiki/AddPlayerClassEx
PHP код:
#define TEAM_ROBBERS 1
#define TEAM_COPS 0
public OnGameModeInit()
{
AddPlayerClassEx(TEAM_ROBBERS, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0); // CJ
AddPlayerClassEx(TEAM_COPS, 1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0); // The Truth
return 1;
}