26.06.2015, 12:43
Whats this error "pawno\include\sscanf2.inc(240) : error 025: function heading differs from prototype".
how to fix it??
Thanks
how to fix it??
Thanks
Well theres your problem...
You're not using the correct syntax.... PHP код:
|
This is the line : if ((SkinID < 0) || (SkinID > 299) || IsInvalidSkin(SkinID))
|
if((SkinID < 0)
The above means..
If SkinID IS LOWER Than 0
|| = OR
SkinID > 299
If SkinID IS GREATER Than 299
|| = OR
IsInvalidSkin(SkinID))
So lets put that all together
if((SkinID IS LOWER Than 0) OR (SkinID Is GREAT Than 299) OR IsInvalidSkin(skinid)
Firstly...
You can't do this...
if((SkinID < 0) || (SkinID > 299)
That's an INCORRECT Syntax statement.. == RETURNS ERRORS...
You're trying to enclose more statements then are required/needed
When using the ** || ** OR statement...
You're asking a question
if(SkinID < 0) Lets called that A
if(SkinID > 299) Lets call that B
So...
If(A returns true... || B returns True) {
THIS STATEMENT IS CALLED
}
So Without all the syntax
if(A returns true OR B returns True) {
Does this
}
shit sorry this is real error line: ShowPlayerDialog(playerid,Clan_SkinMChange,DIALOG_ STYLE_INPUT,"{0066CC}Romania {FFFF00}Fantastic {FF0000}Stunt{AFAFAF}- Clan Member Skin","{FF9900}Sorry but the Clan Skin Member is {FF0000}invalid{FF9900}!\n\n{FF9900}Please Insert Member Skin of the Clan","Next","");
|
new message[128], title[128];
format(title, sizeof(title), "{0066CC}Romania {FFFF00}Fantastic {FF0000}Stunt{AFAFAF}- Clan Member Skin");
format(message, sizeof(message), "{FF9900}Sorry but the Clan Skin Member is {FF0000}invalid{FF9900}!\n\n{FF9900}Please Insert Member Skin of the Clan");
ShowPlayerDialog(playerid, Clan_SkinMChange, DIALOG_STYLE_INPUT, title, message, "Next", "");