[Materials Problem ] - 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: [Materials Problem ] (
/showthread.php?tid=333104)
[Materials Problem ] -
BigBaws - 10.04.2012
Fixed
Re: [Materials Problem ] -
ReneG - 10.04.2012
Does your command do that "ProxDetector message?
Shows your stats command.
Re: [Materials Problem ] -
BigBaws - 10.04.2012
it telling me that 'ramasse un paquet de matйriaux du sol' = ' Takes out a packages of materials from the ground ' when i do /stats i cant see the materials when for exemple i have Materials[500] when i do /dropmats 100 and i do /stats i can see Materials [ 400] but when i try to pickup the mats that i droped them on the ground i do /pickitems it telling me 'Takes out a packages of materials from the ground' but when i do /stats i can see them [400] not [500]
Re: [Materials Problem ] -
ReneG - 10.04.2012
pawn Код:
PlayerInfo[playerid][pMats] += strval(tmp);
I'm guessing you need a variable to hold what was dropped on the ground.
strval(tmp); in that particular command will return 0. So your mats will never increase.
Re: [Materials Problem ] -
BigBaws - 10.04.2012
could you give me the right script & thanks a lot VincentDunn
Re: [Materials Problem ] -
ReneG - 10.04.2012
I'm afraid I can't 'gve' you a script. I don't know this code. If you did write yourself, then you should know how to implement them in your script.
Re: [Materials Problem ] -
BigBaws - 10.04.2012
Fixed it thanks anyway.
Re : [Materials Problem ] -
Vukilore - 10.04.2012
ton tmp, ca ne veux rien dire. Il n'est pas dйfini. Il faut rajouter une colonne dans ton tableau qui stock le nombre de paquet jetter
Sorry, for no english
Re: [Materials Problem ] -
BigBaws - 10.04.2012
non Cest bon je vien de le fixй ^^ cйtй un truc stupide mdr

( merci quand meme ) sorry for no english