SFNiX Posted October 16, 2020 Report Share Posted October 16, 2020 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? Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 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. 1 Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Ai declarat variabila logo ceva de genul new PlayerText:logo[3]; ? Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 1 minute ago, WopsS said: Ai declarat variabila logo ceva de genul new PlayerText:logo[3]; ? nu Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Cum ai declarat-o atunci? Trebuie sa adaugi tag-ul PlayerText:. Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 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 Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 @WopsS am gasit o acum in variabile Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Cum este declarata? Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 2 minutes ago, WopsS said: Cum este declarata? new PlayerText:logo[3]; Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Inca iti mai apare eroarea? Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 3 minutes ago, WopsS said: Inca iti mai apare eroarea? da Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Care este linia unde iti apare eroarea? Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 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 Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 M-am referit sa arati codul de la linia respectiva. Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 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); Link to comment Share on other sites More sharing options...
0 WopsS Posted October 16, 2020 Report Share Posted October 16, 2020 Nu am de unde stii stiu ce linii sunt alea, care este linia exacta unde iti da eroarea? Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 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 Link to comment Share on other sites More sharing options...
0 hanako Posted October 16, 2020 Report Share Posted October 16, 2020 la a doua https://wiki.open.mp/docs/translations/th/scripting/functions/SetPlayerRaceCheckpoint ai pus cu inca un parametru in plus 1 Link to comment Share on other sites More sharing options...
0 SFNiX Posted October 16, 2020 Author Report Share Posted October 16, 2020 am rezolvat. multumesc puteti da t/c Link to comment Share on other sites More sharing options...
Question
SFNiX
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?
Link to comment
Share on other sites
18 answers to this question
Recommended Posts