25.07.2015, 20:05
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(5487) : error 017: undefined symbol "mysql_store_result"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(548 : error 017: undefined symbol "mysql_num_rows"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(5496) : error 017: undefined symbol "mysql_free_result"
use mysql r39-3
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(548 : error 017: undefined symbol "mysql_num_rows"
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(5496) : error 017: undefined symbol "mysql_free_result"
Code:
new qstr[100]; format(qstr,100,"SELECT * FROM `players` WHERE `username`='%s';",plname); mysql_query (qstr); mysql_store_result(); if(mysql_num_rows() != 0) { gPlayerAccount[playerid] = 1; } else { gPlayerAccount[playerid] = 0; } mysql_free_result(); return 1; }