Warning.. help me in this please
#6

Try This.


Код:
if(PlayerInfo[playerid][ptokens] >= amount) 
        {
            new name[MAX_PLAYER_NAME];
            GetPlayerName(playerid, name, sizeof(name));
            PlayerInfo[TarID][ptokens] += amount; 
            PlayerInfo[playerid][ptokens] -= amount; 
            format(string, sizeof(string), "You have recieved %d Tokens from %s.", amount, GetPlayerName(playerid)); 
            SendClientMessage(TarID, COLOR_GRAD2, string); 
            format(string, sizeof(string), "You have given %s %d Tokens.", GetPlayerName(TarID), amount); 
            SendClientMessage(playerid, COLOR_GRAD2, string); 
        }
Reply


Messages In This Thread
Warning.. help me in this please - by Krauser123 - 22.06.2016, 04:08
Re: Warning.. help me in this please - by [XST]O_x - 22.06.2016, 04:13
Re: Warning.. help me in this please - by Krauser123 - 22.06.2016, 04:24
Re: Warning.. help me in this please - by sKJaoSAMP - 22.06.2016, 04:29
Re: Warning.. help me in this please - by Krauser123 - 22.06.2016, 04:31
Re: Warning.. help me in this please - by sKJaoSAMP - 22.06.2016, 04:34
Re: Warning.. help me in this please - by oMa37 - 22.06.2016, 04:39
Re: Warning.. help me in this please - by Krauser123 - 22.06.2016, 04:56
Re: Warning.. help me in this please - by sKJaoSAMP - 22.06.2016, 05:09

Forum Jump:


Users browsing this thread: 2 Guest(s)