26.12.2009, 13:45
Is it posible(and how) in sa-mp/pawno create DELAY 'function'?
EX:
:O?
something like TIMER but easyer to use and better looking script :P
EX:
pawn Код:
if(strcmp(cmd, "/givemebackmybacemera", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_SHUGAVA, "Your camera will be back in 5 seconds...its busy atm ;) "); //message
SetDelay(5000);//5000 miliseconds = 5 seconds
SetCameraBehindPlayer(playerid);
}
return 1;
}
something like TIMER but easyer to use and better looking script :P