29.09.2016, 07:06
@Mencent Hey, you are from Germany like me
The server_log.txt result for this line its : pNivelPiloto: 0
Im supposing this mean i have any issue at my job ranks? wait this is pointed in Reparando and Reparando2 publics.
Variables
Top of Script
In My Own Publics Pool at bottom of Script
Danke schon mal im voraus das du mir hilfst! Bin echt sehr dankbar!
The server_log.txt result for this line its : pNivelPiloto: 0
Im supposing this mean i have any issue at my job ranks? wait this is pointed in Reparando and Reparando2 publics.
Variables
Quote:
pNivelPiloto, pExpPiloto, |
Quote:
forward Reparando2(playerid); forward Reparando(vehicleid); |
Quote:
public Reparando2(playerid) { LoopingAnim(playerid, "CARRY", "crry_prtial", 1.0, 0, 0, 0, 0, 0); if(Player[playerid][pNivelPiloto] < 49) { if(Player[playerid][pVIPLevel] == 1) { new pago = random(3); switch(pago) { case 0: { Player[playerid][pExpPiloto]++; SendClientMessage(playerid,0x0080C2FF,"You have increased your experience with +1 skill point"); } case 1: { Player[playerid][pExpPiloto]++; SendClientMessage(playerid,0x0080C2FF,"You have increased your experience with +1 skill point"); } case 2: { Player[playerid][pExpPiloto]+= 2; SendClientMessage(playerid,0x0080C2FF,"You have increased your experience with +2 skill point"); } } } else { Player[playerid][pExpPiloto]++; SendClientMessage(playerid,0x0080C2FF,"You have increased your experience with +1 skill point"); } } else if(Player[playerid][pNivelPiloto] >= 49) { Player[playerid][pExpPiloto] = 0; Player[playerid][pNivelPiloto]++; SendClientMessage(playerid,-1,"Congratulations, you have increased your Mechanic Level"); } } public Reparando(vehicleid) { SetVehicleHealth(vehicleid, 1000.0); } |