Bug random checkpoint
#1

My french no English :/


My checkpoint delete no respawn

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

sorry ,

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


Forum Jump:


Users browsing this thread: 1 Guest(s)