SA-MP Forums Archive
Neon shop help! - 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: Neon shop help! (/showthread.php?tid=343801)



Neon shop help! - muio223 - 18.05.2012

Hi i was wondering if there would be a way to make something like if the player has a certain amount of cookies they can buy neons from a shop once they buy it they get /neon command is it possible?


Re: Neon shop help! - Infinity90 - 18.05.2012

Well get a neon script from "Filterscript" area or make your own, then add Your code which may be
pawn Код:
if(PlayerInfo[playerid][pCookies] >= 34)
{
//The Code



Re: Neon shop help! - muio223 - 18.05.2012

Ahhhh i get it now! Im going to set it up now thanks!


Re: Neon shop help! - muio223 - 19.05.2012

Had a problem i dont know where to put it to make it so wear its cmd:neon if [playerid] [pNeon] for after you buy them with cookies so like if you buy it at a cookie shop then you get the neon command=[