format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisėsaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nЋvejybos lygis: %i (%i/%i)" playerDB[playerid][Strlvl], playerDB[playerid][Strxp], playerDB[playerid][Strlvl]*210, playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210, playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210, playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210, playerDB[playerid][Pagalboslvl], playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210, playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210, playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210);
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisesaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nЋvejybos lygis: %i (%i/%i)" , playerDB[playerid][Strlvl], playerDB[playerid][Strxp],playerDB[playerid][Strlvl]*210, playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210, playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210, playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210, playerDB[playerid][Pagalboslvl],
playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210, playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210, playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210);
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisesaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nЋvejybos lygis: %i (%i/%i)"
playerDB[playerid][Strlvl], playerDB[playerid][Strxp],playerDB[playerid][Strlvl]*210,
playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210,
playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210,
playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210,
playerDB[playerid][Pagalboslvl], playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210,
playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210,
playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210);
data/playerDB.txt(4) : warning 201: redefinition of constant/macro (symbol "TAXI") data/functions.txt(14 -- 17) : error 001: expected token: ",", but found "-identifier-" data/functions.txt(17) : warning 215: expression has no effect data/functions.txt(17) : error 001: expected token: ";", but found "]" data/functions.txt(17) : error 029: invalid expression, assumed zero data/functions.txt(17) : fatal error 107: too many error messages on one line |
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisesaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nŽvejybos lygis: %i (%i/%i)", playerDB[playerid][Strlvl], playerDB[playerid][Strxp],playerDB[playerid][Strlvl]*210, playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210, playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210, playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210, playerDB[playerid][Pagalboslvl], playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210, playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210, playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210); |
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisesaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nŽvejybos lygis: %i (%i/%i)"
playerDB[playerid][Strlvl], playerDB[playerid][Strxp],playerDB[playerid][Strlvl]*210,
playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210,
playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210,
playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210,
playerDB[playerid][Pagalboslvl], playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210,
playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210,
playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210);
data/playerDB.txt(4) : warning 201: redefinition of constant/macro (symbol "TAXI") data/functions.txt(14 -- 15) : error 001: expected token: ",", but found "-identifier-" data/functions.txt(15) : warning 215: expression has no effect data/functions.txt(15) : warning 215: expression has no effect data/functions.txt(15) : warning 215: expression has no effect data/functions.txt(15 -- 16) : warning 215: expression has no effect data/functions.txt(15 -- 16) : warning 215: expression has no effect data/functions.txt(15 -- 16) : warning 215: expression has no effect data/functions.txt(15 -- 17) : warning 215: expression has no effect data/functions.txt(15 -- 17) : warning 215: expression has no effect data/functions.txt(17) : error 001: expected token: ";", but found "-identifier-" data/functions.txt(17) : warning 215: expression has no effect data/functions.txt(17) : error 001: expected token: ";", but found "]" data/functions.txt(17) : fatal error 107: too many error messages on one line |
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisėsaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nЋvejybos lygis: %i (%i/%i)" playerDB[playerid][Strlvl], playerDB[playerid][Strxp], playerDB[playerid][Strlvl]*210,
playerDB[playerid][Speedlvl], playerDB[playerid][Speedxp], playerDB[playerid][Speedxp]*210, playerDB[playerid][Protlvl], playerDB[playerid]Protxp], playerDB[playerid][Protxp]*210, playerDB[playerid][Teisesaugoslvl], playerDB[playerid][Teisesaugosxp], playerDB[playerid][Teisesaugosxp]*210, playerDB[playerid][Pagalboslvl],
playerDB[playerid][Pagalbosxp], playerDB[playerid][Pagalbosxp]*210, playerDB[playerid][Vairavimolvl], playerDB[playerid][Vairavimoxp], playerDB[playerid][Vairavimoxp]*210, playerDB[playerid][Fishlvl], playerDB[playerid][Fishxp], playerDB[playerid][Fishxp]*210);
public ShowPlayerLevels(playerid, kamid)
{
new lvl[256], name[24], apie[50];
GetPlayerName(playerid, name, 24);
format(apie, sizeof(apie), "Informacija apie %s", name);
new s = playerDB[playerid][Strlvl];
new sxp = playerDB[playerid][Strxp];
new sp = playerDB[playerid][Speedlvl];
new spxp = playerDB[playerid][Speedxp];
new p = playerDB[playerid][Protlvl];
new pxp = playerDB[playerid][Protxp];
new t = playerDB[playerid][Teisesaugoslvl];
new txp = playerDB[playerid][Teisesaugosxp];
new h = playerDB[playerid][Pagalboslvl];
new hxp = playerDB[playerid][Pagalbosxp];
new v = playerDB[playerid][Vairavimolvl];
new vxp = playerDB[playerid][Vairavimoxp];
format(lvl, sizeof(lvl), "Stiprumo lygis: %i (%i/%i)\nVikrumo lygis: %i (%i/%i)\nProtingumo lygis: %i (%i/%i)\n\nTeisėsaugos lygis: %i (%i/%i)\nPirmos pagalbos lygis: %i (%i/%i)\nVairavimo lygis: %i (%i/%i)\n\nŽvejybos lygis: %i (%i/%i)", s, sxp, s*210, sp, spxp, sp*210, p, pxp, p*210, t, txp, t*210, h, hxp, h*210, v, vxp, v*210);
ShowPlayerDialog(kamid, 110, DIALOG_STYLE_MSGBOX, apie, lvl, "Gerai", "");
return 1;
}
pawn Code:
|