19.02.2012, 20:37
Can some one help me im using zcmd to make a command here is the command.
and these are the errors im getting.
first time using zcmd =,p
Quote:
COMMAND ![]() { 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]"); } |
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. |