19.12.2017, 23:12
PHP Code:
if(pickupid == coletecond) // o id desse pickup vai ser igual a variбvel colete
{
SetPlayerArmour(playerid, 100); //quando o player entrar no pickup. o colete dele irб ficar 100%
}
if(pickupid == vidacond) // o id desse pickup vai ser igual a variбvel vida
{
SetPlayerHealth(playerid, 100); //quando o player entrar no pickup. a vida dele irб ficar 100%
}