Little problem.
#1

Код:
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.
Reply
#2

Why is there a bracket on line 358?
Reply
#3

It is the ending one...
Reply
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(kick, 4, cmdtext);
    dcmd(ban, 3, cmdtext);
    return 0;
}
??
Reply
#5

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 ?
Reply
#6

@ Zex : Yes I did.
@ BenzoAMG : I want to add more commands to that place like /healme that's why I want to change it .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)