Skin selection?
#2

1- It's a personal preference whether to write down everything in a single .pwn file or multiple ones, going by the first choice, your script might become messy with time, and disabling functions/debugging would be a nightmare, so making separate .pwn files and including them under a main.pwn for example is the way to go (for huge gamemodes)

2- Add some classes

3- Create a new wrapper function for SetPlayerMoney, it would be something like this
PHP код:
SetPlayerMoneyEx(playeridmoney){
    
PlayerInfo[playerid][pMoney] += money;
    
SetPlayerMoney(playeridPlayerInfo[playerid][pMoney];

or even better, hook SetPlayerMoney funtion
Reply


Messages In This Thread
Skin selection? - by Vitakrone - 14.07.2017, 09:06
Re: Skin selection? - by Eoussama - 14.07.2017, 09:18
Re: Skin selection? - by Vitakrone - 14.07.2017, 09:41
Re: Skin selection? - by coool - 14.07.2017, 10:01
Re: Skin selection? - by Vitakrone - 14.07.2017, 10:04
Re: Skin selection? - by JasonRiggs - 14.07.2017, 14:31
Re: Skin selection? - by MiyuUchiha - 14.07.2017, 17:21
Re: Skin selection? - by Meller - 14.07.2017, 17:37
Re: Skin selection? - by ZyKerZhEn - 31.10.2017, 07:52

Forum Jump:


Users browsing this thread: 3 Guest(s)