SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 02/05/2011, 04:40 PM   #1
Slash01
Little Clucker
 
Join Date: Apr 2011
Posts: 21
Reputation: 0
Default ok, never seen this error before! help! :)

(1016) : error 025: function heading differs from prototype

okay... wtf does that mean! :L

thanks lol
__________________
Slash01 is offline  
Old 02/05/2011, 04:49 PM   #2
Anteino
Big Clucker
 
Join Date: Dec 2010
Posts: 138
Reputation: 2
Default Re: ok, never seen this error before! help! :)

you created a stock or a forward and next you didn't call it the right way. Post the whole code.
__________________
Let's solve problems!
Anteino is offline  
Old 02/05/2011, 04:49 PM   #3
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,070
Reputation: 2655
Default Re: ok, never seen this error before! help! :)

That your public differs from your forward or native.
__________________
Vince is offline  
Old 02/05/2011, 05:19 PM   #4
Gh0sT_
Gangsta
 
Join Date: Sep 2010
Location: Lithuania, Alytus
Posts: 704
Reputation: 0
Default Re: ok, never seen this error before! help! :)

For example:

You have created a public:


public Smth( playerid, vehicleid )

and forward:

forward Smth( playerid );

There isnt a 'vehicleid' param in forward, so its will be very same with ur public
__________________
Includes
Player/Vehicle Control
Entrances system
Gh0sT_ is offline  
 

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 076: syntax error in the expression, or invalid function call RaZvY Help Archive 3 09/08/2011 11:09 AM
I get tagmismatch error, But i cant find any error error Swiftz Help Archive 1 16/04/2011 04:31 AM
An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) Tom_Dedi Help Archive 3 07/11/2010 01:01 PM
: error 076: syntax error in the expression, or invalid function call FireCat Help Archive 0 27/08/2010 10:10 PM


All times are GMT. The time now is 06:03 AM.


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