How to create... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to create... (
/showthread.php?tid=308661)
How to create... -
Littlehelper - 04.01.2012
Hello,
i needed to know how to create different class selection menu's
for example:
i want to create 3 classes
- Drifters
- Enforcers
- Criminals
must be in dialog, and each class will have its own spawn point + and will spawn with different weapons
drifters will not have access to enforcers cmds and same with other factions.
its a lil urgent please.
Re: How to create... -
DarkKillerWithPride<3 - 04.01.2012
alot more complex then just a simple dialog.
Re: How to create... -
lordturhan - 04.01.2012
Use team functions?
Like examle
pawn Код:
if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid,-1,"You need to be drifer to use this command");
Example to block people using drifter command
Note:For 1 you can use anything!
Re: How to create... -
Littlehelper - 04.01.2012
Quote:
Originally Posted by lordturhan
Use team functions?
Like examle
pawn Код:
if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid,-1,"You need to be drifer to use this command");
Example to block people using drifter command
Note:For 1 you can use anything!
|
and this is what i mainly wanted to know....
how to create seperate teams
Re: How to create... -
Konstantinos - 04.01.2012
Click Me!
I hope this is you are looking for
Re: How to create... -
Stigg - 04.01.2012
Use this tutorial:
https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Just make 3 teams instead of 2. Eg:
pawn Код:
#define TEAM_DRIFTERS 0
#define TEAM_ENFORCERS 1
#define TEAM_CRIMINALS 2
new gTeam[MAX_PLAYERS];
Re: How to create... -
Littlehelper - 05.01.2012
ok thankx i got it
but what about this..
Quote:
each class will have its own spawn point
|
?
-
Littlehelper - 05.01.2012
Bump-
And, Also i need it in a dialog form when a PlayerConnects.
I'm bad at dialogs so any kind of help in this will be Appreciated.