14.07.2015, 15:50
Here you need Progress.inc and textdraws...
and you have wrong type on this code:
dont make it playerid, because is already created by samp.. make ' i ' for(new i=0;....
and you have wrong type on this code:
Quote:
OnPlayerConnect... new expamount = PlayerInfo[playerid][pScore]*levelexp; for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { EXP[playerid] = TextDrawCreate(250.000000, 420.000000, "EXP: %d/%d", PlayerInfo[playerid][pRespect], expamount); TextDrawBackgroundColor(EXP[playerid], 255); TextDrawFont(EXP[playerid], 2); TextDrawLetterSize(EXP[playerid], 0.250000, 0.900000); TextDrawColor(EXP[playerid], 0xFFFFFFFF); TextDrawSetOutline(EXP[playerid], 1); TextDrawSetProportional(EXP[playerid], 1); TextDrawSetShadow(EXP[playerid], 0); } |