SA-MP Forums Archive
skin - 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: skin (/showthread.php?tid=549684)



skin - BoU3A - 08.12.2014

Whats the problem

PHP код:
    mysql_format(Mysql,q,sizeof(q),"UPDTAE `players` SET `Skin`=%d WHERE `ID` =%d",pdata[playerid][Skin],pdata[playerid][ID]);
    
mysql_tquery(Mysql,q,"",""); 
PHP код:
You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDTAE `players` SET `Skin`=5 WHERE `ID` =5' at line 1 



Re: skin - Beckett - 08.12.2014

I'm not familiar with MySQL but isn't it 'Update'? not Updtae lol.


Re: skin - BoU3A - 08.12.2014

lmao thank you