Command help please.
#1

Can some one help me im using zcmd to make a command here is the command.

Quote:

COMMANDavesong(playerid, params[])
{
new musicname[128], link[128];
if(!sscanf(params, "s[128]s[128]", musicname, link))
{
format(file, sizeof(file), "music/musics.ini");
if(fexist(file))
{
dini_Set(file, "%s %s", musicname, link);
}
return 1;
}
else return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /savesong [Song Name] [Song Link]");
}

and these are the errors im getting.

Quote:

C:\Users\Desktop\New folder\pawno\rp.pwn(2696) : error 029: invalid expression, assumed zero
C:\Users\Desktop\New folder\pawno\rp.pwn(2696) : error 017: undefined symbol "cmd_savesong"
C:\Users\Desktop\New folder\pawno\rp.pwn(2696) : error 029: invalid expression, assumed zero
C:\Users\Desktop\New folder\pawno\rp.pwn(2696) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

first time using zcmd =,p
Reply


Messages In This Thread
Command help please. - by jueix - 19.02.2012, 20:37
Re: Command help please. - by Sufyan - 19.02.2012, 20:53
Re: Command help please. - by jueix - 19.02.2012, 21:12
Re: Command help please. - by Sufyan - 19.02.2012, 21:16
Re: Command help please. - by jueix - 20.02.2012, 10:46
Re: Command help please. - by aRoach - 20.02.2012, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)