SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/08/2014, 07:23 PM   #1
Xenforox
Big Clucker
 
Join Date: Apr 2014
Posts: 72
Reputation: 1
Default Error Help

I got this two warnings :S
Code:
 function "Streamer_OnPlayerEditObject" should return a value
Help me if you're able to do so.
Xenforox is offline   Reply With Quote
Old 04/08/2014, 07:45 PM   #2
dirigent00
Big Clucker
 
Join Date: Jul 2014
Posts: 71
Reputation: 1
Default Re: Error Help

Ummm, when it says to return a value, that means that you need return 1; at the end of public.
dirigent00 is offline   Reply With Quote
Old 04/08/2014, 07:45 PM   #3
Dignity
High-roller
 
Dignity's Avatar
 
Join Date: May 2013
Location: Belgium
Posts: 1,616
Reputation: 1163
Default Re: Error Help

It literally tells you what to do. Why not try something or actually research an error? Jesus.

Regardless, make that specific function return a value.

pawn Code:
return 1;
Dignity is online now   Reply With Quote
Old 04/08/2014, 07:58 PM   #4
Xenforox
Big Clucker
 
Join Date: Apr 2014
Posts: 72
Reputation: 1
Default Re : Error Help

That's the point it says i have to put return 1; at the end..i did but still having the warning. That's why i've made this thread. -_-
Xenforox is offline   Reply With Quote
Old 04/08/2014, 08:04 PM   #5
Dignity
High-roller
 
Dignity's Avatar
 
Join Date: May 2013
Location: Belgium
Posts: 1,616
Reputation: 1163
Default Re: Error Help

Show us your code.
Dignity is online now   Reply With Quote
Reply

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
error 017: undefined symbol,fatal error 107: too many error messages on one line Slicebook Scripting Help 11 04/05/2014 08:30 PM
An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds.... rati555 Scripting Help 1 14/09/2012 07:45 PM
Registered plate stock error 'error 076: syntax error in the expression, or invalid function call' Deal-or-die Scripting Help 2 25/06/2012 03:12 PM
Error message: : error 030: compound statement not closed at the end of file (started at line 503) David5290 Scripting Help 5 13/04/2012 03:50 AM
I get tagmismatch error, But i cant find any error error Swiftz Help Archive 1 16/04/2011 04:31 AM


All times are GMT. The time now is 10:51 PM.


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