28.02.2011, 14:19
Hellp,I made a deatchmatch room,to enter there you need to type /dm . I want to make that when he typed /dm ,it will show that player will be teleported to DM room after 10 seconds.
Here is my DM command:
How to set timer ? That player will be teleported to DM room when he typed this command after 10 sec ?
Here is my DM command:
Код:
dcmd_dm(playerid, cmdtext[]) {
SendClientMessage(playerid, COLOR_GREEN, "-Server- You have entered to DM.");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1059.895996,2081.685791,10.820312);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 27, 100);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 31, 250);
SetPlayerArmour(playerid,49);
return 1;
}


