TogglePlayerControlable please help me !
#1

Guys , how do i can make this TogglePLayerControlable to a players , example if im admin im gonna freeze player and unfreeze

Quote:

if(strcmp(cmdtext, "/freeze", true) == 0)
if(IsPlayerAdmin(playerid))
{
TogglePlayerControllable(playerid,0);
return 1;
}
// Unfreezes a player when they types /unfreezeme
if(strcmp(cmdtext, "/unfreeze", true) == 0)
if(IsPlayerAdmin(playerid))
{
TogglePlayerControllable(playerid,1);
return 1;
}

the problem is when i type /freeze i am freezing . so how to make that like this command /freeze [playerid] [reason]
and /unfreeze [playerid] .

i don't want with timer.

please help me and i will give REP++
Reply


Messages In This Thread
TogglePlayerControlable please help me ! I will give REP+ those who can help me ! - by Justinclaveria123 - 10.10.2014, 08:32
Re: TogglePlayerControlable please help me ! - by Malicious - 10.10.2014, 09:13
Re: TogglePlayerControlable please help me ! - by Justinclaveria123 - 10.10.2014, 09:48
Re: TogglePlayerControlable please help me ! - by Rudy_ - 10.10.2014, 09:56
Re: TogglePlayerControlable please help me ! - by Malicious - 10.10.2014, 10:10
Re: TogglePlayerControlable please help me ! - by Rudy_ - 10.10.2014, 10:54
Re: TogglePlayerControlable please help me ! - by Justinclaveria123 - 10.10.2014, 13:20
Re: TogglePlayerControlable please help me ! - by Threshold - 10.10.2014, 13:30
Re: TogglePlayerControlable please help me ! - by Justinclaveria123 - 10.10.2014, 13:51
Re: TogglePlayerControlable please help me ! - by Rudy_ - 10.10.2014, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)