Jump to content
  • 0

Problema compilare


bluee

Question

C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(7225) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(27809) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(29587) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(35617) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36476) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(28720) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36435) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(38984) : error 021: symbol already defined: "PlayerToPoint"
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36525) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36435) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(28185) : error 035: argument type mismatch (argument 2
12 Errors.
Si am asa la linii :
7225 -  GetPlayerPos(i, X,Y,Z);
27809 -  GetPlayerPos(playerid, X, Y, Z);
29587 -  GetPlayerPos(playerid, X,Y,Z);
35617 -  GetPlayerPos(giveplayerid, X,Y,Z);
36476 -  GetPlayerPos(MedicCall, X, Y, Z);
28720 - GetPlayerPos(playerid, X,Y,Z);
36435 - GetPlayerPos(BusCall, X, Y, Z);
38984 - new Float:tempposx, Float:tempposy;
36525 -  public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
         {
36435 - GetPlayerPos(BusCall, X, Y, Z);
28185 -  GetPlayerPos(playerid,X,Y,Z);

Ce e gresit , de ce imi da erorile astea?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Nu e prea logica ca functia PlayerToPoint sa fie public. Sterge publicu si lasa doar stocku,

Iar in privinta GetPlayerPos iti da argumet mismatch deoarece variabilele cu care vrei sa iei coordonatele trebuie sa fie Float(x.x)(0.0) deci trebuie facut ceva de genu new Float:X, Float:Y, Float:Z; dar mai simplu ar fi new Float:Coord[ 3 ] ;

Si vei folosi asa GetPlayerPos( playerid, Coord[ 0 ], Coord[ 1 ], Coord[ 2 ] );

Link to comment
Share on other sites

un puct rosu pe mapa?

....

SetPlayerMapIcon(...);//type 0 foloseste iconuri exp icon house pentru id icon intra aici

va apararea pe mapa

http://wiki.sa-mp.com/wiki/MapIcons //nu poti pune un punct rosu tu te referi la acel icon numit marker?

atunci id lui este 41 si se numeste WayPoint deci

adaugi la comanda ta /accept

asta

SetPlayerMapIcon(playerid,3,float:x,y,z,41,1);//x,y,z cordonatele de la iconul pe care vrei sa il faci

intri in joc te duci in locul unde vrei tu sa faci iconul dai /save AIci un nume

intri in my documents/gta san andreeas user files/SAMP/savepositions.txt

dar daka este pe 0.3a unde ai tu san andreeasu/savedpositions

aici o sa gasesti AddPlayerClass(playerid,x,y,z...);de aici selectezi doar x,y,z dupa playerid urmeaza cordonatele x,y,z si astea le adaugi la x,y,z de la mapicon unde am zis eu mai sus sper ca te-am ajutat

ceva imi da impresia ca e roleplay in fine iar daka am dreptate trebuia sa postezi la

Probleme GOdFather sper ca te-am ajutat

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

TheBoss" post="56552" timestamp="1298472083"]

un puct rosu pe mapa?

....

SetPlayerMapIcon(...);//type 0

va apararea pe mapa

ceva imi da impresia ca e roleplay in fine iar daka am dreptate trebuia sa postezi la

Probleme GOdFather sper ca te-am ajutat

Am gresit eu ,  GetPayerPos = iti da pozitia unui player / masina / motocicleta etc .

Ma poate ajuta cineva?

Link to comment
Share on other sites

C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(7225) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(27809) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(29587) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(35617) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36476) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(28720) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36435) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(38984) : error 021: symbol already defined: "PlayerToPoint"
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36525) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(36435) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Theo Avadani\Desktop\GameZone\gamemodes\GameZone.pwn(28185) : error 035: argument type mismatch (argument 2
12 Errors.
Si am asa la linii :
7225 -  GetPlayerPos(i, X,Y,Z);
27809 -  GetPlayerPos(playerid, X, Y, Z);
29587 -  GetPlayerPos(playerid, X,Y,Z);
35617 -  GetPlayerPos(giveplayerid, X,Y,Z);
36476 -  GetPlayerPos(MedicCall, X, Y, Z);
28720 - GetPlayerPos(playerid, X,Y,Z);
36435 - GetPlayerPos(BusCall, X, Y, Z);
38984 - new Float:tempposx, Float:tempposy;
36525 -  public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
         {
36435 - GetPlayerPos(BusCall, X, Y, Z);
28185 -  GetPlayerPos(playerid,X,Y,Z);

Ce e gresit , de ce imi da erorile astea?

Nu ma ajuta nimeni?

PS : Sunt intre 24 de ore posturile

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By D3m0n1K
      am si eu urmatoarea eroare ce as putea sa fac?
       
    • By MTC Ionut
      Am o problema atunci cand vreau sa compilez un gm!
      Am modificat datele de la mysql_connect si cand am dat sa compilez imi apare aceasta eroare!

      Din cauza acestei erori nu imi apare gm in format amx!
      Ce pot face?
       
    • By VenoMarius ERROR404
      Salut, am si eu o problema cu database, dupa ce imi dau admin 7 din baza de date cand intru pe joc nu primesc adminul, dc ?
    • By Raul112233
      Salut,am si eu o problema!!
      Cand ma fac duty in lspd si pun tinta imi da server closed connection!!
      De ce??
       

    • By Goad
      @Banditul
      @Mister
       
      Salut, de curand toate conturile mele " sociale " au fost sparte inclusiv cel de crypto, de cineva pus.. desigur.
       
      Nu stiu ce reclama a facut aici dar scriu dupa atata timp deoarece trebuiesc informati toti despre ceea ce descarca de aici sau cu cine se intra in contact. 
       
      Doresc daca se poate sa imi fie șters warning-ul deoarece se pot face verificari pe clasa de IP. O sa las o poza mai jos, mi-am actualizat parola fara probleme chiar acum.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.