pawno not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: pawno not working (
/showthread.php?tid=176015)
pawno not working -
killanator10 - 11.09.2010
hi i have this script for /cage but when i complie it doesnt work and i tried to find whats missing but cant if someone can fix this please FIX it because i asked my friend and he cant figure it out and hes a scriptor.......heres the pastbin link and after ur done please uplaod a new one
http://pastebin.com/F50xWGRy
Re: pawno not working -
killanator10 - 11.09.2010
CAN ANYONE HELP ME NO COMMENT
Re: pawno not working -
miokie - 11.09.2010
What do the error(s) Say?
Re: pawno not working -
killanator10 - 11.09.2010
IT JUST SAYS pawno compiler libary has stop working!
Re: pawno not working -
thomas.. - 11.09.2010
Quote:
Originally Posted by killanator10
IT JUST SAYS pawno compiler libary has stop working!
|
with me it doesnt...
Re: pawno not working -
Vince - 11.09.2010
You missed a bracket at line 36.
Re: pawno not working -
killanator10 - 11.09.2010
ok let me try please wait
still doesnt work
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' ')) {
idx++;
}
new offset = idx;
new result[128];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) {
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
}
}
}
}
if(strcmp(cmd, "/uncage", true) == 0)
those are lines lines 21 to 37