question
#2

Quote:
Originally Posted by crukk11
Посмотреть сообщение
1;how to make limit in room like dm or other room

2;if i have killstreak script, can i make for dm and when out from dm gamemode . the script hide from freeroam or other gamemode,how?

3;how to make if admin login / logout, it show message admin login/logout
1: Use https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

2: Make a variable. Change it to true and when the killstreak occurs check for the 'true' first
Код:
new bool:IsPlayerKillStreakAllowed[MAX_PLAYERS];
cmd:dm(playerid, params[])
{
    IsPlayerKillStreakAllowed[playerid] = true;
}
public OnPlayerDeath(playerid, killerid, reason)
{
   if(IsPlayerKillStreakAllowed[killerid] == true)
   {
       //other code here
   }
}
3: Just send a message when admin logs in or logs out.
Reply


Messages In This Thread
question - by crukk11 - 29.05.2017, 04:47
Re: question - by coool - 29.05.2017, 06:39
Re: question - by crukk11 - 29.05.2017, 08:26
Re: question - by crukk11 - 30.05.2017, 10:18
Re: question - by crukk11 - 30.05.2017, 16:26
Re: question - by crukk11 - 31.05.2017, 01:50
Re: question - by saffierr - 31.05.2017, 02:24
Re: question - by Sew_Sumi - 31.05.2017, 03:33
Re: question - by crukk11 - 31.05.2017, 09:23
Re: question - by Whatname - 31.05.2017, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)