SA-MP Forums Archive
help adding this to my gamemode 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)
+--- Thread: help adding this to my gamemode please (/showthread.php?tid=438569)



help adding this to my gamemode please - tmzy - 20.05.2013

hi im trying to add this into my gamemode for so that when people buy a house it comes from their money. it is the PPC_Housing filterscript but it has provided codes to put in my gamemode for the money.but no matter how hard i try i cant get it working.

the errors i get are

(562 : error 017: undefined symbol "APlayerData"
(562 : warning 215: expression has no effect
(562 : error 001: expected token: ";", but found "]"
(562 : error 029: invalid expression, assumed zero
(562 : fatal error 107: too many error messages on one line

i have tried looking on ****** and samp but have no luck


Re: help adding this to my gamemode please - Redirect Left - 20.05.2013

You need to define 'APlayerData'.

You also need to not rip stuff out of other peoples script, as there is usually lots of dependencies, and you should credit the original authors when you rip stuff, incase you don't.


Re: help adding this to my gamemode please - tmzy - 20.05.2013

ok thanks and i use other peoples script because i am fairly new to this and am learning from all the errors i get