Jump to content
  • 0

Problema MaterialText


Mister

Question

Problema intalnita (descrie):Am creat un obiect graffity[playerid] mai exact si cand il pun materialtext imi da eroare
Ero(area / rile) / warning-(ul / urile): error 035: argument type mismatch (argument 2) 
Liniile de cod / sursa / script-ul(obligatoriu): 

new Float:Xe, Float:Ye, Float:Ze, Float:Ae;
	                   	GetPlayerFacingAngle(playerid, Ae);
	                    GetPlayerPos(playerid, Xe, Ye, Ze);
	                	graffity[playerid] = CreateDynamicObject(19482,Xe,Ye,Ze+0.5,0.0,0.0,0.0, -1, -1, -1, 50000000, 18000000);
	                    EditDynamicObject(playerid,graffity[playerid]);
	                    GivePlayerWeapon(playerid, 41, -200);
	                    SendClientMessage(playerid,0x80FF00C8,"Ati consumat 200# din Spray!");
	                    new string[12];
	                    format(string,sizeof(string),"Grafity Test");
	                    //linia SetDynamicObjectMaterialText(graffity[playerid],string,1,OBJECT_MATERIAL_SIZE_256x256,"Arial",35,1,0xFF0000C8,0,0);


Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da am tot incercat sa schimb argumentele si am cautat pe net, ce am gasit era aceasi problema ca a mea, si nu a rezolvat

 

EDIT: 

SetDynamicObjectMaterialText(graffity[playerid],string,1,OBJECT_MATERIAL_SIZE_256x256,"Arial",35,1,0xFF0000C8,0,0);
Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

linia trebuie sa fie gen: SetDynamicObjectMaterialText(object, 0,"{FF8040}llllllllllllllllll", 80, "Arial", 80, 1, -16730675, 0, 1);

 

  • Upvote 1

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0

Multumesc merge, eram obisnuit cu SetObjectMaterialText si codul de la streamer fiind diferit nu am stiut cum e codul

Puteti da T.C.

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

nu ai pentru ce :)

Edited by DaEdRiC-FoX

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

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.