[Ajuda] Iscas
#4

Tente assim:
PHP Code:
stock SetPlayerBait(playeridbaits)  
{  
    if (
baits 0)  
        
baits 0;  
    else if ((
GetPlayerBait(playerid) + baits) > 100)//Verifica se o nъmero de iscas que o player tem mais a quantidade adquirida й maior que 100 
    
{
        
baits += 100 GetPlayerBait(playerid);//O parвmetro baits й incrementado o valor da subtraзгo entre 100 e a quantidade de iscas do player 
    
}
    
Player[playerid][Iscas] = baits;  
}  
stock GetPlayerBait(playerid)  
    return 
Player[playerid][Iscas]; 
Reply


Messages In This Thread
Iscas - by Cauezin - 09.05.2018, 23:04
Re: Iscas - by PT - 09.05.2018, 23:16
Re: Iscas - by Cauezin - 09.05.2018, 23:21
Re: Iscas - by FerrariL - 09.05.2018, 23:22
Re: Iscas - by Cauezin - 09.05.2018, 23:29
Re: Iscas - by FerrariL - 09.05.2018, 23:32
Re: Iscas - by Cauezin - 09.05.2018, 23:36
Re: Iscas - by FerrariL - 09.05.2018, 23:38
Re: Iscas - by Cauezin - 09.05.2018, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)