I need help please (Job money)
#1

I put on my filterscript Jobs from this forum. i'm do the missons of the job, the job give me money and take him back why? sorry for my bad english and thanks for helpers
Reply
#2

The gamemode probably uses server-side. That means that GivePlayerMoney in filterscripts will not work and you'll have to use CallRemoteFunction to call the custom function that registers the money to the server for each player.
Reply
#3

thank you very much for help but watch in my private message
Reply
#4

Код:
"And are we meant to guess your code?"
 - Y Less
Reply
#5

my code to give money its - GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]-2500); if im worng please send me guide for to do its and i send the code you need sorry for my bad english
Reply
#6

more codes for information
new string[256];
new killer = playerid;
new price = PlayerInfo[i][pHeadValue];
PlayerInfo[i][pCash] = PlayerInfo[i][pCash]-price/2;
GivePlayerMoney(i, -price/2);
PlayerInfo[killer][pCash] = PlayerInfo[killer][pCash]+price/2;
GivePlayerMoney(killer, price/2);
format(string, sizeof(string),"Hitman %s has fulfilled the contract on %s and collected $%d.",PlayerName(killer),PlayerName(i),price/2);
SendFamilyMessage(8, COLOR_YELLOW, string);
format(string, sizeof(string),"You have been critically injured by a hitman and lost $%d.",price/2);
SendClientMessage(i, COLOR_YELLOW, string);
PlayerPlaySound(killer, 1052, 0.0, 0.0, 0.0);
ClearContract(i);
GoChase[killer] = 999;
PlayerInfo[killer][pCHits]++;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)