Jump to content

Question

Posted

http://www.sa-mp.ro/forum/index.php?topic=26777.0 am vazut aici am urmat tutorialul dar imi da o erroare si multe warniguri

[pawn]C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(710) : warning 204: symbol is assigned a value that is never used: "object"

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2051) : warning 235: public function lacks forward declaration (symbol "SetObjectMaterialText")

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : warning 202: number of arguments does not match definition

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2055) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2057) : warning 217: loose indentation

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2053) : warning 204: symbol is assigned a value that is never used: "object"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

[/pawn]

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

5 answers to this question

Recommended Posts

Posted

[pawn]C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(710) : warning 204: symbol is assigned a value that is never used: "object"

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2056) : error 017: undefined symbol "SetObjectMaterialText"

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2058) : warning 217: loose indentation

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(2054) : warning 204: symbol is assigned a value that is never used: "object"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

[/pawn]

acum am pus sub

public OnPlayerCommandText(playerid, cmdtext[])

si imi eroarea aia

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Posted

Pai , trebuie sal definesti eroarea zice ca nu ai definit SetObjectMaterialText

Dai CTRL+F si scrie acolo #define , si definestel . (ai mai jos un cod)

[pawn]#define SetObjectMaterialText[/pawn]

Invat ca sa Invat.

Posted

Pai , trebuie sal definesti eroarea zice ca nu ai definit SetObjectMaterialText

Dai CTRL+F si scrie acolo #define , si definestel . (ai mai jos un cod)

[pawn]#define SetObjectMaterialText[/pawn]

Ba tu esti prost rau copilule x__X .

Cum sa definesti ?!

Updateaza include pentru 0.3x x__X

idiots.png
Posted

C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : error 029: invalid expression, assumed zero
C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : error 029: invalid expression, assumed zero
C:\Users\KyLLeR\Desktop\JP trucking\gamemodes\PPC_Trucking.pwn(1045) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
imi da errorile astea la liniiile astea [pawn] //=======================RFT Indicatoare================ CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); SetObjectMaterialText CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); //create the object SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\ "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); return 1; }[/pawn] si daca pun cu new object e si mai rau
	//=======================RFT Indicatoare================
	CreateObject(3336, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16);
	SetObjectMaterialText
	CreateObject(3336, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16); //create the object
	SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\
	"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

	return 1;
}

[pawn] //=======================RFT Indicatoare================

new object = CreateObject(3336, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16);

SetObjectMaterialText

new object = CreateObject(object, -448.82, 1636.93, 34.76,  0.00, 0.00, 63.16); //create the object

SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\

"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

return 1;

}[/pawn]

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Posted

Uitete mai jos ar trebui sa mearga ...

	//=======================RFT Indicatoare================
	new object = CreateObject(3336, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16);
	//SetObjectMaterialText - Asta ce cauta aici ? 
	new object = CreateObject(object, -448.82, 1636.93, 34.76,   0.00, 0.00, 63.16); //create the object
	SetObjectMaterialText(3336, "SA-MP {FFFFFF}0.3{008500}e {FF8200}RC7", 0, OBJECT_MATERIAL_SIZE_256x128,\
	"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

	return 1;
}

I'm back bitches.

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.