[Ajuda] Galera me ajuda !
#3

Quote:
Originally Posted by Douglas_prt
Посмотреть сообщение
Voce estб colocando esse 'check' na callback OnPlayerUpdate?
no: OnGameModeInit coloquei:

PHP код:
SetTimer("VerColete"1000true); 
No final do gamemode coloquei:

PHP код:
forward VerColete(playerid);
public 
VerColete(playerid)
{
    new 
Float:colete;
    
GetPlayerArmour(playeridcolete);
    if(
colete >= 1)
    {
        
SetPlayerAttachedObject(playerid,1,373,1,0.33,-0.029,-0.15,65,25,35);
    }
    else
    {
        
RemovePlayerAttachedObject(playerid1);
    }
    return 
1;

no: OnPlayerDisconnect coloquei

PHP код:
RemovePlayerAttachedObject(playerid1); 
no OnGameModeExit: coloquei

PHP код:
for(new dj 0dj MAX_PLAYERSdj++) 

    
RemovePlayerAttachedObject(dj1); 

Reply


Messages In This Thread
Galera me ajuda ! - by Petrick™ - 15.09.2012, 14:12
Re: Galera me ajuda ! - by Douglas_prt - 15.09.2012, 14:15
Re: Galera me ajuda ! - by Petrick™ - 15.09.2012, 14:24
Re: Galera me ajuda ! - by Douglas_prt - 15.09.2012, 14:26
Re: Galera me ajuda ! - by Petrick™ - 15.09.2012, 14:30
Re: Galera me ajuda ! - by Douglas_prt - 15.09.2012, 14:36
Re: Galera me ajuda ! - by Petrick™ - 15.09.2012, 14:51
Re: Galera me ajuda ! - by rjjj - 15.09.2012, 16:00
Re: Galera me ajuda ! - by Petrick™ - 15.09.2012, 16:24
Re: Galera me ajuda ! - by Maklister - 15.09.2012, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)