How to create...
#1

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.
Reply
#2

alot more complex then just a simple dialog.
Reply
#3

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!
Reply
#4

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
Reply
#5

Click Me!
I hope this is you are looking for
Reply
#6

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];
Reply
#7

ok thankx i got it
but what about this..
Quote:

each class will have its own spawn point

?
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)