Jump to content
  • 0

Factions pe Dialog


OscarJoaca

Question

6 answers to this question

Recommended Posts

  • 0

nu stiu ce e asa greu...dar...fie...

 

CMD:factions (playerid, params [ ] ) {
	if ( IsPlayerConnected ( playerid ) )
	{
		new factions[200];
	    strcat(factions, ""ColorF1"1. %s - %d / %d | Level intrare : 4" , FactionInfo [ 1 ] [ fName ] , FactionInfo [ 1 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF2"2. %s - %d / %d | Level intrare : 4" , FactionInfo [ 2 ] [ fName ] , FactionInfo [ 2 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF3"3. %s - %d / %d | Level intrare : 2" , FactionInfo [ 3 ] [ fName ] , FactionInfo [ 3 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF4"4. %s - %d / %d | Level intrare : 2" , FactionInfo [ 4 ] [ fName ] , FactionInfo [ 4 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF5"5. %s - %d / %d | Level intrare : 4" , FactionInfo [ 5 ] [ fName ] , FactionInfo [ 5 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF6"6. %s - %d / %d | Level intrare : 3" , FactionInfo [ 6 ] [ fName ] , FactionInfo [ 6 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF7"7. %s - %d / %d | Level intrare : 3" , FactionInfo [ 7 ] [ fName ] , FactionInfo [ 7 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF8"8. %s - %d / %d | Level intrare : 3" , FactionInfo [ 8 ] [ fName ] , FactionInfo [ 8 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF9"9. %s - %d / %d | Level intrare : 3" , FactionInfo [ 9 ] [ fName ] , FactionInfo [ 9 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	}
	return 1;
}

 

Ofer servicii de web designer/developer(contact me pentru portofoliu etc)

Metode de plata: Paysafecard,Skrill,PayPal,Bitcoin

Ofer si servicii de Penetration Testing.

Vand si VPN-uri. 5 euro pe luna

Skype: live:mrtunne.tkcode

Discord: https://mrtunne.info/discord

Link to comment
Share on other sites

  • 0

nu stiu ce e asa greu...dar...fie...

 

CMD:factions (playerid, params [ ] ) {
	if ( IsPlayerConnected ( playerid ) )
	{
		new factions[200];
	    strcat(factions, ""ColorF1"1. %s - %d / %d | Level intrare : 4" , FactionInfo [ 1 ] [ fName ] , FactionInfo [ 1 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF2"2. %s - %d / %d | Level intrare : 4" , FactionInfo [ 2 ] [ fName ] , FactionInfo [ 2 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF3"3. %s - %d / %d | Level intrare : 2" , FactionInfo [ 3 ] [ fName ] , FactionInfo [ 3 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF4"4. %s - %d / %d | Level intrare : 2" , FactionInfo [ 4 ] [ fName ] , FactionInfo [ 4 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF5"5. %s - %d / %d | Level intrare : 4" , FactionInfo [ 5 ] [ fName ] , FactionInfo [ 5 ] [ fMembers ] , MAX_FMEMBERSNONDM ) ;
	    strcat(factions, ""ColorF6"6. %s - %d / %d | Level intrare : 3" , FactionInfo [ 6 ] [ fName ] , FactionInfo [ 6 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF7"7. %s - %d / %d | Level intrare : 3" , FactionInfo [ 7 ] [ fName ] , FactionInfo [ 7 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF8"8. %s - %d / %d | Level intrare : 3" , FactionInfo [ 8 ] [ fName ] , FactionInfo [ 8 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	    strcat(factions, ""ColorF9"9. %s - %d / %d | Level intrare : 3" , FactionInfo [ 9 ] [ fName ] , FactionInfo [ 9 ] [ fMembers ] , MAX_FMEMBERSDM ) ;
	}
	return 1;
}

 

 

\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11880) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11880) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11881) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11881) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11882) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11882) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11883) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11883) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11884) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11884) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11885) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11885) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11886) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11886) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11887) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11887) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11888) : warning 202: number of arguments does not match definition
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11888) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


18 Warnings.

 

Ca tare stiam, dar am crezut ca fac eu ceva gresit...

Edited by OscarJoaca
Link to comment
Share on other sites

  • 0

strcat nu suporta formatarea, doar lipirea a doua stringuri. Foloseste format.

\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11880) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11881) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11882) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11883) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11884) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11885) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11886) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11887) : error 035: argument type mismatch (argument 2)
\\psf\Home\Desktop\AG RPG\gamemodes\gamemode.pwn(11888) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.

Link to comment
Share on other sites

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.