koga kompajlam programu u pawno nema errori ali u igricu pare se jos nula[mysql]

Započeo ucenik1, Novembar 19, 2023, 14:22:43 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

eve kod
[pawn]public OnPlayerSpawn(playerid)
{
    new query[128];
   new sqlquery[512],name[28];
    GetPlayerName(playerid,name,28);
    mysql_format(MySQL:handle, sqlquery, 512, "UPDATE `accounts` SET `Money` = '%d' WHERE `pAccName` = '%s'", GetPlayerMoney(playerid), name);
    mysql_query(MySQL:handle,query);
    PlayerInfo[playerid][Money] += -20;
   return 1;
}[/pawn]

Upwork Skills
Back-end:
• PHP Frameworks (Laravel, Symfony,Codeigniter)
• Python/Django
• Node.js

Front-end:
• HTML
• CSS pre-processing (SASS, LESS)
• Javascript (JQuery, Ajax, Vue, Angular, React, etc.)
• Bootstrap

CMS
• Wordpress (Woocommerce)
• Shopify, Magento

[pawn]public OnPlayerSpawn(playerid)
{
    new query[128];
    new sqlquery[512],name[28];
    GetPlayerName(playerid,name,28);
    PlayerInfo[playerid][Money] += -20;
    GivePlayerMoney(playerid, -20);
    mysql_format(MySQL:handle, sqlquery, 512, "UPDATE `accounts` SET `Money` = '%d' WHERE `pAccName` = '%s'", PlayerInfo[playerid][Money], name);
    mysql_query(MySQL:handle,query);
    return 1;
}[/pawn]
TeamSpeak 3