sendclientmessage
#1

if(GetPVarInt(playerid,"CMDABUSE")>GetTickCount()) return SendClientMessage(playerid,0xFF0000FF,"You must wait before using a command");
SetPVarInt(playerid,"CMDABUSE",GetTickCount()+5000 );

when that tickcount finishes i want to recieve message "you can go in another place now"

Reply
#2

If this is what you mean.
pawn Код:
if(GetPVarInt(playerid,"CMDABUSE")>GetTickCount())return SendClientMessage(playerid,0xFF0000FF,"You must wait before using a command");
SetPVarInt(playerid,"CMDABUSE",GetTickCount()+5000); return SendClientMessage(playerid, COLOR_RED, "You can now teleport.");
Reply
#3

unreached code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)