SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Old 15/08/2019, 01:20 PM   #1
Big Clucker
Join Date: May 2015
Posts: 185
Reputation: 9
Default Script Compile error

Hello. I was compiling my script but had blank output on screen. So I searched on forums and found out that its because of some error. So I commented the functions I created before error. So I got this function is causing the problem:

PHP Code:
stock GetPlayerNameFromDBID(DBID)
mysql_format(querysizeof query"SELECT `Name` from `users` where DB_ID = %d"DBID);
cache mysql_query(handlequery);


0strlen(name); i++)
name[i] == '_'name[i] = ' ';
printf("Invalid Return");

what is the problem?? Why is it causing this problem? If I comment this function script compiles with no problems....
GeorgeMcReary is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting error when I try to compile the script ScareCrowe Scripting Help 2 05/10/2017 02:55 PM
Error when i compile the script FiReMaNStone Scripting Help 6 16/11/2014 09:29 PM
script cmd compile error help rdios144 Scripting Help 2 20/01/2013 07:01 PM
Help me. Error in script: Compile Goldino Scripting Help 1 21/11/2012 08:28 PM
error in the script to compile gabrielfilipe Help Archive 1 17/12/2009 05:30 PM

All times are GMT. The time now is 12:33 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.