Little Help!
#1

guys i need a little help :P look i installed the [FS] GarHouse and i saw that i need to buy every house with money so... is it possible that instead of money i could use score? my server has score system and even i can buy weapons from score [my friend made that] but now i need a little help someone plz help i already bought host and i wanna use it but i cant because of this problem cuz most of u know that money can be hacked in samp and at the start i even need administrators, my forums is already done.
Reply
#2

Use SetPlayerScore and GetPlayerScore.

https://sampwiki.blast.hk/ is really helpful.

pawn Код:
if(GetPlayerScore(playerid) >= houseprice){
      SetPlayerScore(playerid, GetPlayerScore(playerid) - houseprice);
      // Buy the house
}else{
     SendClientMessage(playerid, COLOR, "You don't have enough score to buy that house!");
}
--------------------

You can have "server side money" which people can't hack. Search around.
Reply
#3

man i fail at those what to do :/
Reply
#4

You can either try and find the part in the script where it checks the players money / takes it away, or you can post in the FS's topic asking for help.
Reply
#5

look man i will do what ever u will say plz do it for me! this is the last thing needed in my server and you are thr only one who can give it to me!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)