Jump to content
  • 0

Question

Posted

Deci am vrut sa adaug un "/help nou si cand dau compilare imi da erorile astea:

[pawn]C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: "-string end-", but found "-identifier-"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : warning 215: expression has no effect

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: ";", but found "-string-"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : warning 215: expression has no effect

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

[/pawn]

Linia 8844: [pawn] format(str,2640,"\t\t\t\t\t\t\t\t"COLOR_GREEN"Stats    \n");[/pawn]

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

2 answers to this question

Recommended Posts

Posted

Deci am vrut sa adaug un "/help nou si cand dau compilare imi da erorile astea:

[pawn]C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: "-string end-", but found "-identifier-"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : warning 215: expression has no effect

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: ";", but found "-string-"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : warning 215: expression has no effect

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(8844) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

[/pawn]

Linia 8844: [pawn] format(str,2640,"\t\t\t\t\t\t\t\t"COLOR_GREEN"Stats    \n");[/pawn]

Auzi, Are prima data la comanda care ai vrut sa o faci, are ceva de genu "new string[128];" ?? un pic mai jos , in comanda

Posted

Nu am asa ceva eu am asa.

	new Float:px,Float:py,Float:pz;
		GetPlayerPos(targetid, px, py, pz);
		new y, m, d;
		getdate(y,m,d);
        new str[2640];
 		format(str,2640,"\t\t\t\t\t\t\t\t"COLOR_GREEN"Stats     \n");
 		format(str,2640,"%s"COLOR_GREEN"%s\t\t\t\t\t\t\t\t\t\t\t\t\t\t"COLOR_GREEN"     %02d.%02d.%02d\n\n\n",str,name,d,m,y);
        format(str,2640,"%s"COLOR_RED"Account"wh": Level:[{EFD385}%d"wh"] Sex:[{EFD385}%s"wh"] Age:[{EFD385}%d"wh"] Origin:[{EFD385}%s"wh"] SpawnHealth:[{EFD385}%.1f"wh"] Cash:[{EFD385}%s"wh"] Bank:[{EFD385}%s"wh"] Ph:[{EFD385}%d"wh"]\n",str, level,atext,age,otext,shealth+100, DecimalPoint(targetid), DecimalPointBank(targetid), pnumber);
        format(str,2640,"%s"COLOR_RED"Upgrades"wh": Team:[{EFD385}%s"wh"] DonateRank:[{EFD385}%s"wh"] NextLevel:[{EFD385}%d$"wh"] Respect:[{EFD385}%d/%d"wh"] Rank:[{EFD385}%s"wh"] Gps:[{EFD385}%d"wh"]\n Rob:[{EFD385}%d"wh"]\n Card:[{EFD385}$%d.00"wh"]\n",str,ttext, drank,costlevel,exp,expamount,rtext,gpsda,rob,Card);
        format(str,2640,"%s"COLOR_RED"Crimes"wh": Kills:[{EFD385}%d"wh"] Deaths:[{EFD385}%d"wh"] WantedLevel:[{EFD385}%d"wh"] CrimesCommited:[{EFD385}%d"wh"] TimesArrested:[{EFD385}%d"wh"] WantedDeaths:[{EFD385}%d"wh"]\n Pin:[{EFD385}%d"wh"]\n",str,kills,deaths, wanted,crimes,arrests,warrests,Pin);
        format(str,2640,"%s"COLOR_RED"Inventory"wh": Materials:[{EFD385}%d"wh"] LottoNr:[{EFD385}%d"wh"] Drugs:[{EFD385}%d"wh"] PlayingHours:[{EFD385}%d"wh"] Warnings:[{EFD385}%d/3"wh"] FactionWarns:[%d/3] Smoke[{EFD385}%d"wh"/{EFD385}20"wh"] Beers[{EFD385}%d"wh"/{EFD385}10"wh"] \n",str,mats,lotto,drugs,ptime,warns,fwarns,smoke,beer);
        format(str,2640,"%s"COLOR_RED"Details"wh": Family:[{EFD385}%s"wh"] Disease:[{EFD385}%s"wh"] Organisation:[{EFD385}%s"wh"] FishesCaught:[{EFD385}%d"wh"] BiggestFish:[{EFD385}%d"wh"] Job:[{EFD385}%s"wh"] MarriedTo:[{EFD385}%s"wh"]\n",str,f2text,dtext,ftext,fishes,bigfish,jtext,married);
		if (PlayerInfo[playerid][pAdmin] >= 1){format(str,2640,"%s"COLOR_RED"Admin"wh": Admin level: [{EFD385}%d"wh"] House key: [{EFD385}%d"wh" Business key: [{EFD385}%d"wh"] HireKey: [{EFD385}%d"wh"] int: [{EFD385}%d"wh"] local: [{EFD385}%d"wh"] Admin Warnings:[{EFD385}%d"wh"/{EFD385}4"wh"]\n",str,alevel,housekey,bizkey,HireCar[targetid],intir,local,awarns);}
		ShowPlayerDialog( playerid, 6518, DIALOG_STYLE_MSGBOX, " ", str, "Iesi", "" );
	}
}

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

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.