[Pomoc]Error -

Započeo Arnel_Bp
2. Mar. 2014. Zaključano
148
pregleda
4
postova
Arnel_Bp
5
Underboss
2. Mar. 2014.
Skripta koju koristim: Od 0
Detaljan opis problema: Pa uradim sve kako treba i onda mi ima errora na neke osti.. pfff sta da mu radim
Dio skripte:
SetPlayerTeamFromClass(playerid, classid) {

if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6 || classid == 7 || classid == 10 || classid == 11 || classid == 12) {

gTeam = TEAM_COP;

} else if(classid == 8) {

    gTeam = TEAM_ARMY;

} else if(classid == 9) {

    gTeam = TEAM_CASSEC;

} else if(classid == 13) {

    gTeam = TEAM_JAILTK;

} else if(classid == 14) {

    gTeam = TEAM_MEDIC;

} else if(classid == 15) {

    gTeam = TEAM_CARFIX;

} else if(classid == 16) {

    gTeam = TEAM_BISTRO;

} else if(classid == 17 || classid == 18) {

    gTeam = TEAM_DRIVER;

    } else if(classid >= 19 && classid <= 63) {

    gTeam = TEAM_CIVIL;

}

}

tu su errori nalaze na TEAM linijama a evo kako sam stavio
#define TEAM_COP 1
#define TEAM_ARMY 2
#define TEAM_MEDIC 3
#define TEAM_CARFIX 4
#define TEAM_CASSEC 5
#define TEAM_DRIVER 6
#define TEAM_BISTRO 7
#define TEAM_JAILTK 8
#define TEAM_PVTMED 9
#define TEAM_CIVIL 10
#define TEAM_GASDEL 11
#define TEAM_DRGDEL 12
#define TEAM_HITMAN 13
#define TEAM_GUNDEL 14
#define TEAM_SNITCH 15
#define TEAM_RAPIST 16
#define TEAM_BOUNTY 17

new gTeam;


sta je problem?
Neke slike/video za lakse dobivanje pomoci(neobavezno):
James_SmithXDl
6
OG Legend
2. Mar. 2014.
i koji je error?
Arnel_Bp
5
Underboss
2. Mar. 2014.
Quote from March 2, 2014, 11:13 am:
i koji je error?

	gTeam = TEAM_COP;
gTeam = TEAM_ARMY;
gTeam = TEAM_CASSEC;
gTeam = TEAM_JAILTK;
gTeam = TEAM_MEDIC;
gTeam = TEAM_CARFIX;
gTeam = TEAM_BISTRO;
gTeam = TEAM_DRIVER;
gTeam = TEAM_CIVIL;


to su mi errori

error 017: undefined symbol "TEAM_COP"
error 017: undefined symbol "TEAM_ARMY" itd itd.
James_SmithXDl
6
OG Legend
2. Mar. 2014.
nebi trebalo biti problema tu je sve ok.
Nesto drugo ti je problem.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha