Onplayerconnect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Onplayerconnect (
/showthread.php?tid=593285)
Onplayerconnect -
Ugaustin - 03.11.2015
problem in sql, my onplayerconnect variable don't get called I don't know why.. please help!
Re: Onplayerconnect -
Ugaustin - 03.11.2015
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 );
|
Re: Onplayerconnect -
Ugaustin - 04.11.2015
anyone?? I my variables get to 0 all time!