SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 02/02/2009, 01:14 AM   #1
Cevarr
Little Clucker
 
Join Date: Jan 2009
Posts: 33
Reputation: 0
Default /invite for factions.

Ok, I'm completely un-sure on how to make a /invite command for faction leaders so they can invite players to their faction.

Could anyone be kind enough to give me a detailed tutorial on how I can do this?

It would be much appreciated if you could.

Thanks,

Cevarr.
Cevarr is offline  
Old 02/02/2009, 01:17 AM   #2
Snyper18
Huge Clucker
 
Join Date: Oct 2007
Posts: 364
Reputation: 0
Default Re: /invite for factions.

I bet this is a godfather question, Post in that thread please.
Snyper18 is offline  
Old 02/02/2009, 01:20 AM   #3
Cevarr
Little Clucker
 
Join Date: Jan 2009
Posts: 33
Reputation: 0
Default Re: /invite for factions.

Umm, no. It's not as a matter-of-fact.

I just want to make a /recruit OR a /invite (they're both the same thing) for faction leaders..
Cevarr is offline  
Old 02/02/2009, 02:06 AM   #4
Backwardsman97
High-roller
 
Backwardsman97's Avatar
 
Join Date: Nov 2007
Posts: 2,210
Reputation: 36
Default Re: /invite for factions.

Well the problem is, nobody here knows anything about what gm you're talking about, what variables deal with it, or how it is setup. So nobody can help you. Only give you advice.
Backwardsman97 is offline  
Old 03/02/2009, 08:44 PM   #5
Cevarr
Little Clucker
 
Join Date: Jan 2009
Posts: 33
Reputation: 0
Default Re: /invite for factions.

I started from scratch, I'm not editing a GM; simply making a new one of my own.
Cevarr is offline  
Old 03/02/2009, 09:12 PM   #6
AlExAlExAlEx
Gangsta
 
Join Date: Nov 2008
Posts: 689
Reputation: 5
Default Re: /invite for factions.

what sistem do you use for teams ? gteam ?
__________________
If I helped you, please help me by raising my reputation. Thanks!
AlExAlExAlEx is offline  
Old 03/02/2009, 09:13 PM   #7
Cevarr
Little Clucker
 
Join Date: Jan 2009
Posts: 33
Reputation: 0
Default Re: /invite for factions.

For teams, I usually use if (GetPlayerSkin(playerid) == SKIND-ID (Skins of the team).
Cevarr is offline  
Old 03/02/2009, 09:20 PM   #8
BioFreeze
Gangsta
 
Join Date: May 2007
Posts: 755
Reputation: 0
Default Re: /invite for factions.

Quote:
Originally Posted by Cevarr
For teams, I usually use if (GetPlayerSkin(playerid) == SKIND-ID (Skins of the team).
Skins have nothing to do with the team issue . Unless you want a skin to invite a other skin to be part of the skin , which is very unlogical. So tell us again , how are your teams defined? ( if you dont have any , then tell that 2 -.- )
BioFreeze is offline  
Old 03/02/2009, 09:26 PM   #9
Cevarr
Little Clucker
 
Join Date: Jan 2009
Posts: 33
Reputation: 0
Default Re: /invite for factions.

I have got teams in my script, just don't use them. i prefer to use skins.

I have them like this:

Code:
#define TEAM_RIFAS 1
#define TEAM_RIFAS_2 2
#define TEAM_RIFAS_3 3
#define TEAM_SFPD 4
#define TEAM_SFPD_2 5
#define TEAM_SFPD_3 6
#define TEAM_SFPD_4 7
#define TEAM_SFPD_5 8
#define TEAM_SFPD_6 9
#define TEAM_SFPD_7 10
#define TEAM_CHIEF 11
#define TEAM_CIVILLIAN 12
#define TEAM_CIVILLIAN2 13
#define TEAM_CIVILLIAN3 14
#define TEAM_CIVILLIAN4 15
#define TEAM_CIVILLIAN5 16
#define TEAM_CIVILLIAN6 17
#define TEAM_CIVILLIAN7 18
#define TEAM_CIVILLIAN8 19
#define TEAM_CIVILLIAN9 20
As in classes, i dont really understand that part at all though with gTeam thats why I prefer to use GetPlayerSkin
Cevarr is offline  
Old 03/02/2009, 09:28 PM   #10
ICECOLDKILLAK8
High-roller
 
Join Date: Aug 2008
Posts: 1,197
Reputation: 1
Default Re: /invite for factions.

its easy, gTeam[playerid] = w/e team, the way your doing it is completely stupid
__________________
IVMP
ICECOLDKILLAK8 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/invite bug Jo1Nt Scripting Help 2 16/10/2011 11:24 PM
invite help bartje01 Help Archive 5 06/03/2010 07:12 PM
/invite help skylord Help Archive 0 26/01/2010 06:55 AM
/invite - Factions Chivava Help Archive 2 18/01/2010 07:33 PM
[HELP] /invite bug Lilcuete Help Archive 5 20/11/2009 08:28 PM


All times are GMT. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.