Onplayerconnect
#1

problem in sql, my onplayerconnect variable don't get called I don't know why.. please help!
Reply
#2

like if I put onplayerconnect PlayerData[playerid][pFuel] = 1; then this is Fuel 0 too.. that's what I don't understand..

Quote:

new Cache: r;
format( string, 128, "SELECT * FROM `players` WHERE `Name` = '%s'", plname );
r = mysql_query( mysql_db, string );
gPlayerAccount[ playerid ] = ( !cache_get_row_count( mysql_db ) ) ? ( 0 ) : ( 1 );
cache_delete( r );

Reply
#3

anyone?? I my variables get to 0 all time!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)