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

: error 035: argument type mismatch (argument 2)


Question

Posted

logo[0] = CreatePlayerTextDraw(playerid, (637.500000, 433.000000, "PROTECTED.ro");
    PlayerTextDrawLetterSize(playerid, logo[0], 0.346587, 1.407498);
    PlayerTextDrawAlignment(playerid, logo[0], 3);
    PlayerTextDrawColor(playerid, logo[0], -1);
    PlayerTextDrawSetOutline(playerid, logo[0], 1);
    PlayerTextDrawSetShadow(playerid, logo[0], 0);
    PlayerTextDrawBackgroundColor(playerid, logo[0], 227);
    PlayerTextDrawFont(playerid, logo[0], 3);
    PlayerTextDrawSetProportional(playerid, logo[0], 1);

 

ajutor?

18 answers to this question

Recommended Posts

  • 0
Posted

Vezi ca ai o paranteza deschisa acolo. Dupa playerid. Mai jos este cum trebuie sa fie.

CreatePlayerTextDraw(playerid, 637.500000, 433.000000, "PROTECTED.ro");

La a doua nu stiu ce poate sa aiba, numarul de parametrii sunt corecti. Cauta in a_samp.inc acea functie si vezi cati parametrii are.

  • Like 1
  • 0
Posted
2 minutes ago, WopsS said:

Cum ai declarat-o atunci? Trebuie sa adaugi tag-ul PlayerText:.

creca e playertextdrawshow snt paralele cu scripting e gm luat dp net am vrut sa modific logo 

  • 0
Posted

D:\gm1\gamemodes\allexa.pwn(4648) : error 035: argument type mismatch (argument 2)
D:\gm1\gamemodes\allexa.pwn(12051) : warning 202: number of arguments does not match definition

astea 2 sunt singurele care mi le da, ma lasa sa l compilez dar nu mi a dat nicio eroare pana acum, nu stiu ce s a intamplat

  • 0
Posted
Just now, WopsS said:

M-am referit sa arati codul de la linia respectiva.

pai am dat mai sus bro 

logo[0] = CreatePlayerTextDraw(playerid, (637.500000, 433.000000, "PROTECTED.ro");
    PlayerTextDrawLetterSize(playerid, logo[0], 0.346587, 1.407498);
    PlayerTextDrawAlignment(playerid, logo[0], 3);
    PlayerTextDrawColor(playerid, logo[0], -1);
    PlayerTextDrawSetOutline(playerid, logo[0], 1);
    PlayerTextDrawSetShadow(playerid, logo[0], 0);
    PlayerTextDrawBackgroundColor(playerid, logo[0], 227);
    PlayerTextDrawFont(playerid, logo[0], 3);
    PlayerTextDrawSetProportional(playerid, logo[0], 1);

  • 0
Posted
1 minute ago, WopsS said:

Nu am de unde stii stiu ce linii sunt alea, care este linia exacta unde iti da eroarea?

logo[0] = CreatePlayerTextDraw(playerid, (637.500000, 433.000000, "PROTECTED.ro"); asta e prima
if(JobStep[playerid] == 6) SetPlayerRaceCheckpoint(playerid, 0, 1395.2542,-1729.2012,13.4901,1315.4188,-1631.5197,13.4827,4.0); asta e a doua, n am umblat deloc la ea nuj ce are

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.