19.08.2013, 07:24
Hello!I have a problem.I searched on ****** for a solution but none worked.Or i didn`t knew how to make it work.So..my problem is that i have a sendclientmessage,to send player a message for what is him being kicked and its not showed.I know it needs a timer,but i don`t know how to put it.I tried something,take a look at this please.
Lines:
Thanks!
Код:
C:\Users\George\Desktop\dfghdhs\pawno\include\PPC_PlayerCommands.inc(1517) : error 029: invalid expression, assumed zero C:\Users\George\Desktop\dfghdhs\pawno\include\PPC_PlayerCommands.inc(1518) : error 029: invalid expression, assumed zero C:\Users\George\Desktop\dfghdhs\pawno\include\PPC_PlayerCommands.inc(1519) : error 001: expected token: ";", but found "{" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Код:
SendClientMessageToAll(0xFFFFFFFF, Msg); SetTimerEx("Kick", 1000, false, "d",playerid); // Kick the player forward Kick(playerid); public Kick(playerid) { return Kick(playerid); } } else SendClientMessage(playerid, 0xFF0000FF, "That player isn't online"); } else return 0; } else return 0; // Let the server know that this was a valid command return 1; }
Код:
forward Kick(playerid); public Kick(playerid) {