SA-MP Forums Archive
help please - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help please (/showthread.php?tid=210041)



help please - darkknight123 - 12.01.2011

im scripting a cardealership system but players can own as many cars as they wish...:/ how do i make it to where they can only own 2? please help


Re: help please - Macluawn - 12.01.2011

make a variable in player account file and each time a player buys a car, increase the variable by 1. then if the variable is 2 when they purchase a car, end the script.


Re: help please - darkknight123 - 12.01.2011

hmm idk how to when i try i get 26 errors :/
can you please be more specific?