SA-MP Forums Archive
Erro(+rep) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Erro(+rep) (/showthread.php?tid=521865)



Erro(+rep) - ScripteRMKD - 24.06.2014

Hello Scripterzzz..I just now resloving my warnings and i get some error :/

Lines:
pawn Код:
SCMF(ProdavacAvtomobil[playerid], COLOR_WHITE, "{739EFA}%s ja prifati ponudata i go kupi vasiot avtomobil", GetName(playerid));
                    strmid(MyVehicle[i][MyVehOwner], GetName(playerid), 0, strlen(GetName(playerid)), 64);
                    MyVehicle[playerid][MyVehCar] = 1;
error 035: argument type mismatch (argument 2)

Error on line: strmid(MyVehicle[i][MyVehOwner], GetName(playerid), 0, strlen(GetName(playerid)), 64);


Re: Erro(+rep) - ScripteRMKD - 24.06.2014

solution ?


Re: Erro(+rep) - Dangjai - 24.06.2014

pawn Код:
MF(ProdavacAvtomobil[playerid], COLOR_WHITE, "{739EFA}%s ja prifati ponudata i go kupi vasiot avtomobil", GetName(playerid));
                    strmid(MyVehicle[i][MyVehOwner], GetName(playerid), 0 , strlen(GetName(playerid)), 64);
                    MyVehicle[playerid][MyVehCar] = 1;



Re: Erro(+rep) - ScripteRMKD - 24.06.2014

kinglee you give me my code i fixed it it was the problem with GetName i changet to sendername and works


Re: Erro(+rep) - Dangjai - 25.06.2014

I didnt give you your code Just updated it.


Re: Erro(+rep) - ScripteRMKD - 25.06.2014

where is updated ? -_-