27.04.2011, 17:22
While trying to make my script ulta amazing , an Idea pop up.
so I wanted to share it here with you ...
so the Idea is ONLY FOR RP SERVERS)
so I wanted to share it here with you ...
so the Idea is ONLY FOR RP SERVERS)
pawn Код:
if you pay a player(like /pay or /givecash)
and the ammount you want to pay is more then 50k
Then you will have to get a lawyer , it will return you : SendClientMessage(playerid,blablabla,"You have to get a lawyer for a big deals !");
but wait .....
now you do command to call a lawyer
like /service lawyer or something ...
when you call the lawyer
he will be able to use command called /allowdeal [PLAYERID] [LIMIT]
so that command will allow someone the lawyer choose the limit to pay .
a variable called AllowedMoney[MAX_PLAYERS];
will set to that player the limit the lawyer gives him.
now when the player is payig , his AllowedMoney will be 0 .......
the /allowdeal limit is between 50k and 3M
then after the lawyer use the /allowdeal cmd , it will give him a random price. (4 options)
like :
8k
14k
5k
7k
so what do you guys think ??? I think its cool !
Please do not steal this idea .