Gang Help
#1

Look Leme Give Example: There Is A Icon....When Ppl Press What Ever Alt Or Shift They Join The Gang And Then When They Write /leave They Leave it. Can Someone Help?

i create a enum

Код:
enum
{
	TEAM_GROVE,
	TEAM_BALLAS,
	TEAM_AZTECAS,
	TEAM_VAGOS,
	TEAM_RIFA,
	TEAM_TRIADS,
	TEAM_NANG_BOYS,
	TEAM_MAFIA,
}
but give me a error
Код:
 error 001: expected token: "-identifier-", but found "-integer value-"
also if i want to start making the teams how i do it? can someone give example pls
Reply
#2

pawn Код:
enum gInfo
{
    TEAM_GROVE,
    TEAM_BALLAS,
    TEAM_AZTECAS,
    TEAM_VAGOS,
    TEAM_RIFA,
    TEAM_TRIADS,
    TEAM_NANG_BOYS,
    TEAM_MAFIA
}
new GangInfo[MAX_PLAYERS][gInfo];
Reply
#3

Still Gives Me A Error
Quote:

C:\Users\Andrew\Desktop\GTA Work\iFreeRoam\gamemodes\iFreeRoam.pwn(34) : error 001: expected token: "-identifier-", but found "-integer value-"

Line 34 Is TEAM_GROVE
Reply
#4

pawn Код:
enum gInfo
{
    pGrove,
    pBallas,
    pAztecas,
    pVagos,
    pRifa,
    pTriads,
    pNang,
    pMafia
}
new GangInfo[MAX_PLAYERS][gInfo];
Works for me!
Reply
#5

xD Now It Does Thanks
Reply
#6

How i make it when the player presses Enter Or shift or alt on the icon they join the gang? Also +Reped
Reply
#7

Where do they choose the gang? In the skin selection?
Reply
#8

No i will have a icon in each hq (its a freeroam server) and which ever gang they want to be in they choose, and when they want to leave they write /leave
Reply
#9

Anychance this can be done?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)