SA-MP Forums Archive
/invite own GM gTeam - 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: /invite own GM gTeam (/showthread.php?tid=335987)



/invite own GM gTeam - NewerthRoleplay - 20.04.2012

Hi i've started scripting again, and i wanted to start more work on my Faction system, the variable i am using for a players faction is gTeam, my defines for the faction ranks are:

pawn Код:
//-----[Faction defines]-----
#define CIVILIAN 0
#define FACTION_FBI 1
#define FACTION_CIA 2
#define FACTION_LSPD 3
#define FACTION_LVPD 4
#define FACTION_SFPD 5
#define FACTION_YAKUZA 6
#define FACTION_MAFIA 7
Could anybody tell me the right direction to head towards in creating /invite for people who have the variable fowner equal to 1


I do have ZCMD and SSCANF

-Connor


Re: /invite own GM gTeam - NewerthRoleplay - 20.04.2012

bump?


Re: /invite own GM gTeam - Face9000 - 21.04.2012

You wanna create the /invite command to let other players invite for joining at the factions defined above? If you're asking for forcing factions select to other players,i assume you can't,you can simply sent a message like: "Player1 invites you to join FACTION NAME" with some dialogs like "Yes\nNo".Also,show me your fowner variable and exactly what is their function.


Re: /invite own GM gTeam - NewerthRoleplay - 21.04.2012

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
You wanna create the /invite command to let other players invite for joining at the factions defined above? If you're asking for forcing factions select to other players,i assume you can't,you can simply sent a message like: "Player1 invites you to join FACTION NAME" with some dialogs like "Yes\nNo".Also,show me your fowner variable and exactly what is their function.
Dont worry i got it sorted now thanks!