29.05.2017, 06:39
Quote:
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 |
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 } }