Jump to content

Recommended Posts

Posted

Pai, fa-i update, cum ai tu, gen UPDATE `users` SET `model`='%d'' WHERE name='%s',PlayerInfo[playerid][pNormalName]);

Posted

Am adaugat si 

 

    format(szQuery, sizeof(szQuery), "UPDATE users SET `Skin`='%d' WHERE `name`='%s'", GetPlayerSkin(playerid), PlayerInfo[playerid][pSkin]), GetName(playerid);
    mysql_query(mysql, szQuery);
 

si tot nu functioneaza.

Posted

La public setplayerspawn ai SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);?

Posted

SetPlayerSkin(para1, PlayerInfo[para1][pModel]); // adauga la makeleader

new wakaname[25];
                    GetPlayerName(para1,wakaname,25);
                    new str[356];
                    mysql_format(SQL,str,356,"UPDATE users SET `Leader`='%d',`Member`='%d',`Rank`='7',`Team`='%d',`Model`='%d',`FactionJoin`='%d' WHERE `name`='%s'",PlayerInfo[para1][pLeader],PlayerInfo[para1][pMember],PlayerInfo[para1][pTeam],PlayerInfo[para1][pModel],PlayerInfo[para1][pFactionJoin],PlayerInfo[para1][pNormalName]);
                    mysql_tquery(SQL,str,"","");
                    SetPlayerToTeamColor(para1);

// Adauga dupa

Astept reply daca mai ai probleme.

 

Bot developer (Discord): https://discordapp.com/oauth2/authorize?client_id=584989992481193989&scope=bot&permissions=8

Web Developer (Disponibil pentru proiecte noi, experienta de 3 ani in php, mysql si web design)

Scripter SA:MP (Am reinceput sa lucrez in domeniul acesta pentru a sustine comunitatea de samp dupa o pauza de 2 ani)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.