Jump to content

xKnnTx

Membru
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Sex
    Masculin
  • In-game Name
    KnnT
  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xKnnTx's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Salut , am un gamemode cu versiune mai vechie e pe Ysy, si vroiam sa fac altfel cum se updata playeri pe acest gamemode. Specific ca vreau sa il fac intr-un include! Ps: Nu sunt asa experimentat fara critici. Errors: (Poza)( https://imgur.com/a/laxW1 ) Code Errors: -=-C:\Users\KnnT\Desktop\gm nou\pawno\include\myacc.inc(350) : error 029: invalid expression, assumed zero -=-C:\Users\KnnT\Desktop\gm nou\pawno\include\myacc.inc(355) : error 029: invalid expression, assumed zero -=-C:\Users\KnnT\Desktop\gm nou\pawno\include\myacc.inc(360) : error 029: invalid expression, assumed zero Code(pawno): public Update(playerid, type) { if(IsPlayerConnected(playerid)) { gQuery[0] = (EOS); { switch(type) { case pLevelx: { format(gQuery, sizeof(gQuery), "UPDATE `players` SET `Level`='%d' WHERE `ID`='%d'", PlayerInfo[playerid][pLevel], PlayerInfo[playerid] [pMysqlID]); mysql_query(handle, gQuery); } case pAdminx: { format(gQuery, sizeof(gQuery), "UPDATE `players` SET `AdminLevel`='%d' WHERE `ID`='%d'", PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pMysqlID]); mysql_query(handle, gQuery); } case pHelperx: { format(gQuery, sizeof(gQuery), "UPDATE `players` SET `HelperLevel`='%d' WHERE `ID`='%d'", PlayerInfo[playerid][pHelper], PlayerInfo[playerid][pMysqlID]); mysql_query(handle, gQuery); } } } } return 1; } include(download): http://www.mediafire.com/file/hndspepa22xbuxz/myacc.inc Multumesc!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.