rcon /jail and /unjail - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: rcon /jail and /unjail (
/showthread.php?tid=219366)
rcon /jail and /unjail -
hadzx - 01.02.2011
does anybody have a command rcon only for /jail and /unjail just /jail [playerid] [reason]
thanks
and /unjail [playerid]
Re: rcon /jail and /unjail -
ricardo178 - 01.02.2011
You need make it under RconCommandText or something like that!
You will need to use functions:
SetPlayerPos (jail coordenates)
after to unjail you will need the something but out jail coordenates!
Re: rcon /jail and /unjail -
Vince - 01.02.2011
Quote:
Originally Posted by ricardo178
You need make it under RconCommandText or something like that!
|
Please, only reply if you know what you're talking about. OnRconCommand is only called for things typed into the server console.
And at the TS: Please use the search function. There are lots and lots of jail commands.
Re: rcon /jail and /unjail -
Sasino97 - 01.02.2011
Quote:
Originally Posted by Vince
OnRconCommand is only called for things typed into the server console.
|
You mean that you can add commands for the console??
Can you tell me how to add it?
Does it works the strtok?
Re: rcon /jail and /unjail -
[MKD]Max - 01.02.2011
http://forum.sa-mp.com/attachment.ph...7&d=1286394957
get the command from my own rcon script
Re: rcon /jail and /unjail -
hadzx - 01.02.2011
Quote:
Originally Posted by [MKD]Max
|
ivelooked at that earlier but its dcmd and im using strcmd thing sorry i just need a simple /jail and /unjail
Re: rcon /jail and /unjail -
Steven82 - 01.02.2011
Quote:
Originally Posted by hadzx
ivelooked at that earlier but its dcmd and im using strcmd thing sorry i just need a simple /jail and /unjail
|
Switch, either use DCMD or ZCMD those are the best command processors, esp. if you use sscanf with them
Re: rcon /jail and /unjail -
hadzx - 01.02.2011
Quote:
Originally Posted by Steven82
Switch, either use DCMD or ZCMD those are the best command processors, esp. if you use sscanf with them
|
dcmd and zcmd are so hard to use ide rather stick with basic stuff