SA-MP Forums

Précédent   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Outils de la discussion Modes d'affichage
Vieux 02/02/2009, 02h14   #1
Cevarr
Little Clucker
 
Date d'inscription: January 2009
Messages: 33
Reputation: 0
Par défaut /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 est déconnecté  
Vieux 02/02/2009, 02h17   #2
Snyper18
Huge Clucker
 
Date d'inscription: October 2007
Messages: 365
Reputation: 0
Par défaut Re: /invite for factions.

I bet this is a godfather question, Post in that thread please.
Snyper18 est déconnecté  
Vieux 02/02/2009, 02h20   #3
Cevarr
Little Clucker
 
Date d'inscription: January 2009
Messages: 33
Reputation: 0
Par défaut 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 est déconnecté  
Vieux 02/02/2009, 03h06   #4
Backwardsman97
High-roller
 
Avatar de Backwardsman97
 
Date d'inscription: November 2007
Messages: 2 229
Reputation: 36
Par défaut 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 est déconnecté  
Vieux 03/02/2009, 21h44   #5
Cevarr
Little Clucker
 
Date d'inscription: January 2009
Messages: 33
Reputation: 0
Par défaut Re: /invite for factions.

I started from scratch, I'm not editing a GM; simply making a new one of my own.
Cevarr est déconnecté  
Vieux 03/02/2009, 22h12   #6
AlExAlExAlEx
Gangsta
 
Date d'inscription: November 2008
Messages: 693
Reputation: 5
Par défaut Re: /invite for factions.

what sistem do you use for teams ? gteam ?
__________________
AlExAlExAlEx est déconnecté  
Vieux 03/02/2009, 22h13   #7
Cevarr
Little Clucker
 
Date d'inscription: January 2009
Messages: 33
Reputation: 0
Par défaut Re: /invite for factions.

For teams, I usually use if (GetPlayerSkin(playerid) == SKIND-ID (Skins of the team).
Cevarr est déconnecté  
Vieux 03/02/2009, 22h20   #8
BioFreeze
Gangsta
 
Date d'inscription: May 2007
Messages: 759
Reputation: 0
Par défaut Re: /invite for factions.

Citation:
Envoyé par 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 est déconnecté  
Vieux 03/02/2009, 22h26   #9
Cevarr
Little Clucker
 
Date d'inscription: January 2009
Messages: 33
Reputation: 0
Par défaut 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 est déconnecté  
Vieux 03/02/2009, 22h28   #10
ICECOLDKILLAK8
High-roller
 
Date d'inscription: August 2008
Messages: 1 200
Reputation: 1
Par défaut Re: /invite for factions.

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

Outils de la discussion
Modes d'affichage

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non


Discussions similaires
Discussion Auteur Forum Réponses Dernier message
/invite bug Jo1Nt Scripting Help 2 16/10/2011 23h24
invite help bartje01 Help Archive 5 06/03/2010 20h12
/invite help skylord Help Archive 0 26/01/2010 07h55
/invite - Factions Chivava Help Archive 2 18/01/2010 20h33
[HELP] /invite bug Lilcuete Help Archive 5 20/11/2009 21h28


Fuseau horaire GMT. Il est actuellement 08h25.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Version française #23 par l'association vBulletin francophone