SA-MP Forums Archive
[Ajuda]Cada Gang com armas diferente - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]Cada Gang com armas diferente (/showthread.php?tid=347116)



[Ajuda]Cada Gang com armas diferente - Diogo123 - 31.05.2012

Oi pessoal estou com uma duvida *-*
Como faz para uma gang nascer com um kit de armas e a outra com outro kit tambйm

ex: Groves: nasce com pistola com silenciador , combat shotgun , m4 , sniper.

E os ballas nasce com : Eagle , uzi , ak47 , faca ,granada

quem me ajudar dou +rep



Re: [Ajuda]Cada Gang com armas diferente - ViniBorn - 31.05.2012

Basta ajustar com SetSpawnInfo, e se forem mais de 3 armas, GivePlayerWeapon no OnPlayerSpawn


Re: [Ajuda]Cada Gang com armas diferente - Schocc - 31.05.2012

Vocк ja tem algum sistema que define as gangs se tiver poste aqui o codigo


Re: [Ajuda]Cada Gang com armas diferente - Jake_Dunlapp - 31.05.2012

Topo

pawn Код:
new Equipes[MAX_PLAYERS];
e aki no onplayerspawn

pawn Код:
if(Equipes[playerid] == 1 ) {
'-'

lembre-se de definir os times usando #define Time1 1 #define Time2 2


Re: [Ajuda]Cada Gang com armas diferente - .FuneraL. - 31.05.2012

Quote:
Originally Posted by Diogo123
Посмотреть сообщение
Oi pessoal estou com uma duvida *-*
Como faz para uma gang nascer com um kit de armas e a outra com outro kit tambйm

ex: Groves: nasce com pistola com silenciador , combat shotgun , m4 , sniper.

E os ballas nasce com : Eagle , uzi , ak47 , faca ,granada

quem me ajudar dou +rep
Tente fazer isto , no OnPlayerRequestSpawn, Com as variбveis de sua Gang.


Re: [Ajuda]Cada Gang com armas diferente - Diogo123 - 31.05.2012

Quote:
Originally Posted by Jake_Dunlapp
Посмотреть сообщение
Topo

pawn Код:
new Equipes[MAX_PLAYERS];
e aki no onplayerspawn

pawn Код:
if(Equipes[playerid] == 1 ) {
'-'

lembre-se de definir os times usando #define Time1 1 #define Time2 2
Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Tente fazer isto , no OnPlayerRequestSpawn, Com as variбveis de sua Gang.
Ae vlw me ajudo de mais vocкs dois +rep =)