Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted (edited)

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

4 answers to this question

Recommended Posts

  • 0
Posted

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

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

  • 0
Posted (edited)

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
  • 0
Posted (edited)

nu ai pentru ce :)

Edited by DaEdRiC-FoX

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

Servicii Scripting de calitate:

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

Future Project: ExpertGame

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

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.