Have a question how to transfere from DOF2 to MYSQL r39
#1

I need some guid lines how to transfere the code from DOF2 to MYSQL... Just I dont understand it that good..

Just maybe some tutorials or where to look?
Reply
#2

Thank you for your answer. As basic mysql scripting I know.. Just in those kind a things I dont get how to get it work..
PlayerInfo[playerid][SuspensionDay] = DOF2_GetInt(string, "SuspensionDay");

I know it will be INT format.. Just it's making me like think to much I think.. Like reading every line... in users in to be = with PlayerInfo.. I think it isnt correct way.
Reply
#3

Tutorials for threaded queries: https://sampforum.blast.hk/showthread.php?tid=337810
Wiki for MySQL R33+ (all functions): https://sampwiki.blast.hk/wiki/MySQL/R33
Example script: https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn

Read those (especially the example script) and try converting it - you should be able to!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)