Jump to content
  • 0

Question

2 answers to this question

Recommended Posts

  • 0
Posted

la public OnPlayerDisconnect(playerid, reason)

pui asa     new qqerry[128];
                mysql_format(SQL,qqerry, sizeof(qqerry), "UPDATE `users` SET `Status` = '0' WHERE `id` = '%d'", PlayerInfo[playerid][pSQLID]);
                mysql_tquery(SQL,qqerry,"","");

si la public OnPlayerLogin

UPDATE `users` SET `Status` = '1

  • Upvote 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

  • 0
Posted

mysql_tquery se foloseste asa, Geani:

 

mysql_tquery(ConnID, string sau format, "", "", ""); - parametrii goi trebuie specificati neaparat, tquery e si pentru a executa o functie cu un query. 

Guest
This topic is now closed to further replies.
×
×
  • 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.