a little help - 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: a little help (
/showthread.php?tid=122042)
a little help -
kman - 19.01.2010
when i make this i always get this
C:\Users\Admin\Desktop\gamemodes\lvrcr1.pwn(3663) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Код:
public AutoUncuff()
{
for(new i=0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if(cuffed[i] == 1)
{
new pname[24];
GetPlayerName(i, pname, 24);
new string[256];
SendClientMessage(i, 0xA9A9A9AA, "|_Released From Cuffs_|");
SendClientMessage(i,0x00C7FFAA,"You have been auto-released from cuffs. You are free to walk again");
format(string, sizeof(string), "%s(%d) Has been auto-released from cuffs to stop cuff abuse.",pname,i);
SendClientMessageToAll(0x00C7FFAA, string);
cuffed[i] =0;
}
}
}
}
}
Ps: i forwarded it made timer and everything
Re: a little help -
SlashPT - 19.01.2010
remove one
Re: a little help -
kman - 19.01.2010
tried let me see if i need to remove specific }
Re: a little help -
SlashPT - 19.01.2010
huh?? you removed it??
Re: a little help -
kman - 19.01.2010
yea thanks it worked i removed the one at the bottom not at top and it worked