Rob Player Help
#1

Hi.I Make Rob Player Script But Not Work. Any On Can Fix It ? Not Give money To Robber....



Код:
        new current_zone = player_zone[playerid];
     	new mrand = random(5000000); // A random number between 0 and 500000
     	
        SendClientMessage(playerid,COLOR_DEADCONNECT,"[[_Robber_]]");
        format(string,sizeof(string),"Ribbed $%d From %s(%d). Nice Rob!",mrand,PlayerName(ID),ID);
        SendClientMessage(playerid,COLOR_RED,string);
        GivePlayerCash(playerid, mrand); // Remove the money that was stolen from the player
        IncreaseWantedLevel(playerid,8);
        HasRobbedRecently[playerid] =180;
        SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);

        SendClientMessage(ID,COLOR_DEADCONNECT,"[[Robber]]");
        format(string,sizeof(string),"Robbed From You $%d By %s(%d) !",mrand,PlayerName(playerid),playerid);
        SendClientMessage(ID,COLOR_RED,string);
        GivePlayerCash(playerid, -mrand); // Remove the money that was stolen from the player
Reply
#2

GivePlayerCash.
Reply
#3

I Set ID But Not Work....
Reply
#4

Help #
Reply
#5

Quote:
Originally Posted by alishvasis
Посмотреть сообщение
Help #
FixeD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)