19.11.2011, 11:59
(
Последний раз редактировалось Rudo2; 19.11.2011 в 13:04.
)
Foreword
My first include.I am next time to mixed functions adding.Now of adding to include for mysql functions.Good luck.
Use
Top of the script.
Functions
Succession and Bug
Download
Download Rudo Inc v1.1
My first include.I am next time to mixed functions adding.Now of adding to include for mysql functions.Good luck.
Use
Top of the script.
pawn Код:
#include <rudo.inc>
- sql_Int(column[], table[], condition[], conditionif[]) - Reading Integer
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_Int("money", "chars", "charname", name);
- sql_Float(column[], table[], condition[], conditionif[]) - Reading Float
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_Float("angle", "chars", "charname", name);
- sql_Text(column[], table[], condition[], conditionif[]) Reading Text
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_Text("charname", "chars", "charname", name);
- sql_IntSet(table[], column[], setcolumn, condition[], conditionif[]) - Update Integer
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_IntSet("chars", "money", "300", "charname", name);
- sql_FloatSet(table[], column[], Float : setcolumn, condtion[], conditionif[]) - Update Float
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_FloatSet("chars", "angle", "2000", "charname", name);
- sql_Set(table[], column[], setcolumn[], condition[], conditionif[]) - Update Text
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sql_Set("chars", "pass", "pass123456", "charname", name:);
Download
Download Rudo Inc v1.1