Jump to content
  • 0

Question

Posted

Salut , cum creez si eu comanda /factions? ca nu stiu

PD
FBI
NG
Medic&FireMan
LCN
YKZ
Mayor
Hitman
NR
Taxi
School Instructor
Crips
Blods
Surenos
Nortenos

  MULTUMESC

<a href="http://www.game-state.eu/94.60.40.50:7777/"><img src="http://www.game-state.eu/94.60.40.50:7777/n-560x95_FFFFFF_FFFFFF_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

2 answers to this question

Recommended Posts

Posted

if(strcmp(cmd, "/factions", true) == 0)
	{
		if(IsPlayerConnected(playerid))
    	{
    		SendClientMessage(playerid, COLOR_WHITE, " {9ACD32}|_________________________________Faction List________________________________|");
    		SendClientMessage(playerid, COLOR_WHITE, "Gouvernamental : {2641FE}(ID:1)PoliceDepartament , (ID:2)F.B.I , (ID:3)NationalGuard.");
    		SendClientMessage(playerid, COLOR_WHITE, "Mafia: {FF9900} (ID:5)La Cosa Nostra , {33AA33}(ID:6)Yakuza.");
    		SendClientMessage(playerid, COLOR_WHITE, "Gangs:{003C7B} (ID:12)Crips , {FFA8D3}(ID:13)Bloods, {9CFFFE}(ID:14)Surenos , {FFC801}(ID:15)Nortenos.");
    		SendClientMessage(playerid, COLOR_WHITE, "State Factions : {FF6347} (ID:4)Medics/Fireman , {FFFF00}(ID:10)Taxi Company , {00D7D7}(ID:11)SchoolInstructor , {A6A6D2}(ID:9)NewsReporter.");
    		SendClientMessage(playerid, COLOR_WHITE, "Private Factions : {A63232}(ID:8)Hitman.");
    		SendClientMessage(playerid, COLOR_LIGHTRED, "Mai multe detalii pe /forum ! ");
    		SendClientMessage(playerid, COLOR_WHITE, " {9ACD32}|_______________________________________________________________________________|");
		}
		return 1;
	}

schimbi si u factiunile.

Posted

Adica sa ti le arate care sunt ?

Sau  cum adica ...

Daca da urmeaza cum a fost mai sus .

PS : Daca vrei pe dialog Try :

[pawn]CMD:factions( playerid , params[ ] ) return ShowPlayerDialog( playerid , 001 , DIALOG_STYLE_MSGBOX , " Factions " , Factions( ) , "Ok" , "Cancel" );

Factions()

{

new Factions[ 1000 ];

Factions[0]='\0';

strcat( Factions , "PD" , 1000 );

strcat( Factions , "FBI" , 1000 );

strcat( Factions , "NG" , 1000 );

strcat( Factions , "Medic&FireMan" , 1000 );

strcat( Factions , "LCN" , 1000 );

strcat( Factions , "YKZ" , 1000 );

strcat( Factions , "Mayor" , 1000 );

strcat( Factions , "Hitman" , 1000 );

strcat( Factions , "NR" , 1000 );

strcat( Factions , "Taxi" , 1000 );

strcat( Factions , "School Instructor" , 1000 );

strcat( Factions , "Crips" , 1000 );

strcat( Factions , "Blods" , 1000 );

strcat( Factions , "Surenos" , 1000 );

strcat( Factions , "Nortenos" , 1000 );

return Factions ;

}

[/pawn]

Sa pui La Factions() Factions[0]='\0'; daca nu se vede Ok xD

idiots.png
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.