17.02.2012, 12:48
Quote:
You said you know how to do it lol...
By the way using dini is something like: pawn Код:
|
Quote:
if (strcmp("/savesong", cmdtext, true, 10) == 0) { 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(2642) : error 017: undefined symbol "params" C:\Users\Desktop\New folder\pawno\rp.pwn(2644) : error 017: undefined symbol "file" C:\Users\Desktop\New folder\pawno\rp.pwn(2644) : error 017: undefined symbol "file" C:\Users\Desktop\New folder\pawno\rp.pwn(2644) : error 029: invalid expression, assumed zero C:\Users\Desktop\New folder\pawno\rp.pwn(2644) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |