Little problem. - 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)
+--- Thread: Little problem. (
/showthread.php?tid=404435)
Little problem. -
Affan - 03.01.2013
Код:
351 public OnPlayerCommandText(playerid, cmdtext[])
352 {
353 dcmd(kick, 4, cmdtext);
354 dcmd(ban, 3, cmdtext);
355 return 1;
356 }
357 return 0;
358 }
Then the error comes
Код:
C:\Users\Administrator\Desktop\MySAMPServers\King\filterscripts\flip.pwn(357) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Little problem. -
vMapper - 03.01.2013
Why is there a bracket on line 358?
Re: Little problem. -
Affan - 03.01.2013
It is the ending one...
Re: Little problem. -
Threshold - 03.01.2013
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(kick, 4, cmdtext);
dcmd(ban, 3, cmdtext);
return 0;
}
??
Re: Little problem. -
Zex Tan - 03.01.2013
Quote:
Originally Posted by vMapper
Why is there a bracket on line 358?
|
It is the closing.....
And Affan, did you include dcmd in your script ?
Re: Little problem. -
Affan - 03.01.2013
@ Zex : Yes I did.
@ BenzoAMG : I want to add more commands to that place like /healme that's why I want to change it .