1 Error
#1

My error:

Код:
D:\joril\gamemodes\gm.pwn(3911) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
My cmd:

Код:
CMD:credits(playerid,params[])
{
    SendClientMessage(playerid,COLOR_GREEN,"**********CREDITS**********")
	SendClientMessage(playerid,COLOR_GREEN,"Server Owner: Tuntun");
	SendClientMessage(playerid,COLOR_GREEN,"Server Created/Edited by: Tuntun");
	SendClientMessage(playerid,COLOR_GREEN,"Server Maps by: Tuntun");
	SendClientMessage(playerid,COLOR_GREEN,"Server Hosted by: Tuntun");
     SendClientMessage(playerid,COLOR_GREEN,"**********RESPECT THEM******");
    return 1;
}
Reply
#2

Try

pawn Код:
CMD:credits(playerid,params[])
{
    SendClientMessage(playerid,COLOR_GREEN,"**********CREDITS**********");
    SendClientMessage(playerid,COLOR_GREEN,"Server Owner: Tuntun");
    SendClientMessage(playerid,COLOR_GREEN,"Server Created/Edited by: Tuntun");
    SendClientMessage(playerid,COLOR_GREEN,"Server Maps by: Tuntun");
    SendClientMessage(playerid,COLOR_GREEN,"Server Hosted by: Tuntun");
     SendClientMessage(playerid,COLOR_GREEN,"**********RESPECT THEM******");
    return 1;
}
Reply
#3

Lol thanks but i don't know how you fixed it xd.
Reply
#4

You just forget to add a ;

on here:
pawn Код:
SendClientMessage(playerid,COLOR_GREEN,"**********CREDITS**********")
Reply
#5

pawn Код:
CMD:credits(playerid,params[]) {
SendClientMessage(playerid,-1,"Everything was done by Tuntun");
return 1;
}
EDIT: Late.
Reply
#6

Okey thanks but can i have explain the -1 what for after playerid? i mean what is -1?
Reply
#7

-1 = White color
pawn Код:
SendClientMessage(playerid, color name or define,"Your text");
Reply
#8

Ah Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)