Bug random checkpoint
#1

My french no English :/


My checkpoint delete no respawn

PHP код:
new tmp random(sizeof(Poub));
        
SetPlayerCheckpoint(playeridPoub[tmp][0], Poub[tmp][1], Poub[tmp][2], 8.0); 
Checkpoint the delete no respawn :/
Reply
#2

sorry ,

PHP код:
                if(wWork[playerid][wStep] == )
                {
                    
DisablePlayerCheckpoint(playerid);
                    
eboueurNext(playerid);
                    new 
expwinmonwin;
                    
expwin 0;
                    new 
poubel = (1+random(2));
                    
monwin = (2+random(7))* pWork[playerid][wRang];
                    
workGiveSalaireplayeridmonwin);
                    
wWork[playerid][wMarchandise] += poubel;
                    
format(mono[playerid], 128"Poubelle prise +%d$ +%d exp  +%d poubelles."monwinexpwinpoubel);
                    
SendClientMessage(playerid,Couleur_Jaune,mono[playerid]);
                    
workUpdateInterface(playerid);
                    new 
tmp random(sizeof(Poub));
                     
SetPlayerCheckpoint(playeridPoub[tmp][0], Poub[tmp][1], Poub[tmp][2], 8.0);
                    return 
1;
                } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)