Y_CMD error
#1

error 017: undefined symbol "@yC_gamemode"

line

pawn Code:
ShowPlayerDialog(playerid, car_Dialog, DIALOG_STYLE_LIST, "Pick a car", "Infernus\n Banshee", "Select", "Cancel");
Reply
#2

Show more code.
Reply
#3

pawn Code:
CMD:gamemode(playerid, params[])
    {
    ShowPlayerDialog(playerid, car_Dialog, DIALOG_STYLE_LIST, "Pick a car", "Infernus\n Banshee", "Select", "Cancel")
    }
that is my code :S
Reply
#4

I just ******d your error and nothing in ****** :S i gues your going to have to wait for Y_Less to come along you might have to PM him with further deatils
Reply
#5

Quote:
Originally Posted by SpankMe2
View Post
pawn Code:
CMD:gamemode(playerid, params[])
    {
    ShowPlayerDialog(playerid, car_Dialog, DIALOG_STYLE_LIST, "Pick a car", "Infernus\n Banshee", "Select", "Cancel")
    }
that is my code :S
I don't use YCMD (yet), but here is an example of it's format and set parameters.

PHP Code:
YCMD:test(playeridparams[], help)
{
    if (
help)
    {
        
//Your code
    
}
    else
    {
        
//Your code
    
}
    return 
1;

Quote:
Originally Posted by PGTips
View Post
I just ******d your error and nothing in ****** :S i gues your going to have to wait for Y_Less to come along you might have to PM him with further deatils
Y_Less is not the only capable one of finding solutions you know
Reply
#6

Still doesnt work :S
Reply
#7

Y_Less is not the only capable one of finding solutions you know [/QUOTE]

Yeh but ****** this error you get one result and its this page hes the only ne to get this error and its no in the way of his coding i dont think it maybe a Y_CMD bug or w.e but ive added his code to my script and i cant seem to get rid of it ive looked at the Y_CMD.inc and im trying to find omthing in there
Reply
#8

Quote:
Originally Posted by PGTips
View Post
Y_Less is not the only capable one of finding solutions you know
Yeh but ****** this error you get one result and its this page hes the only ne to get this error and its no in the way of his coding i dont think it maybe a Y_CMD bug or w.e but ive added his code to my script and i cant seem to get rid of it ive looked at the Y_CMD.inc and im trying to find omthing in there
Your a weird little fellow eh? Let me explain something. In one of SpankMe2's previous posts, he was willing to pay for a Y_INI system, I gave him an offer and he accepted. We go on MSN and funny thing is, he had the same photo on his display as you PGTips. And a funnier thing is that you reply to almost ALL his posts and without giving at least helpful information, you say that you can't find it either. Are you creating multiple accounts, 1 for questioning and 1 for answering cause you would feel ashame that people wouldn't think your smart enough? It seems that way. Funniest thing though, whenever your online into 5 minutes of the post, he goes offline. O_O

ON-TOPIC: Was doing a little research on YCMD and it's actually way more useful than ZCMD.

Here's an example of a YCMD command posted by Y_Less.

PHP Code:
YCMD:me(playeridparams[], help)
{
    if (
help)
    {
        
SendClientMessage(playerid0xFF0000AA"Sends an action to other players.");
    }
    else
    {
        new
            
str[128];
        if (
isnull(params))
        {
            
format(strsizeof (str), "Usage: \"/%s [action]\""Command_GetDisplayNamed("me"playerid));
            
SendClientMessage(playerid0xFF0000AAstr);
        }
        else
        {
            
GetPlayerName(playeridstrsizeof (str));
            
format(strsizeof (str), "* %s %s"strparams);
            
SendClientMessageToAll(0xFF0000AAstr);
        }
    }
    return 
1;

You can now make your own. I might even switch.
Reply
#9

Sorry to bump this Topic but seriously when i dont know spank me to from anyone on else on SAMP i just login and then i goto scripting discussion start from the top of the list and work my way down until there is nothing left to reply to it not my fault if i reply to him when he posts i mean look i refresh my page i see this first thing i do is click it and PGTips is a brand mate look he may have the same pic for the reason ITS NOT UNIQUE plus ive only had 2 accounts on samp and i lost the password to my old one so GTFO
Reply
#10

Quote:
Originally Posted by PGTips
View Post
Sorry to bump this Topic but seriously when i dont know spank me to from anyone on else on SAMP i just login and then i goto scripting discussion start from the top of the list and work my way down until there is nothing left to reply to it not my fault if i reply to him when he posts i mean look i refresh my page i see this first thing i do is click it and PGTips is a brand mate look he may have the same pic for the reason ITS NOT UNIQUE plus ive only had 2 accounts on samp and i lost the password to my old one so GTFO
Are you butthurt? It seems you are as I've exposed you for who your truly are.
Reply
#11

Ok w.e you say mate i cant be botherd to argue i dont care who people think i am weather they think im a bad scripter or a good scripter aslong as they are greatful for the help it doesnt matter to me or them
Reply
#12

However SpankMe2 Y_CMD is a dropin replacement of ZCMD and for now you can replace the Y_CMD plugin with ZCMD until the problem is resolved
Reply
#13

Seems like something to do with the y_cmd include and your gamemode/filterscript.

I wouldn't quote me on that though!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)