SA-MP Forums Archive
Spec command. - 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)
+--- Thread: Spec command. (/showthread.php?tid=615265)



Spec command. - Chester123 - 19.08.2016

Hi, guys, I would like to get codes&pastebin or any download of /spec and /spec off commands.
(Notes: it should be for admin rcon)


Re: Spec command. - Jefff - 20.08.2016

http://forum.sa-mp.com/search.php?searchid=10860651


Re: Spec command. - Sew_Sumi - 20.08.2016

Damn, the server package even has a filterscript called adminspec.pwn that actually has this...


Re: Spec command. - Gen3i - 20.08.2016

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Damn, the server package even has a filterscript called adminspec.pwn that actually has this...
^^this


Re: Spec command. - iLearner - 20.08.2016

PHP код:
COMMAND:spec(playerid,params[]) 

   if(
IsPlayerAdmin(playerid)) 
  {
       
PlayerSpectatePlayer(playeridotherPlayer);
  } 
  else 
  {
       return 
SendClientMessage(playerid, -"You're not rcon admin!");
  }
 return 
1;




Re: Spec command. - oMa37 - 20.08.2016

Quote:
Originally Posted by iLearner
Посмотреть сообщение
PHP код:
COMMAND:spec(playerid,params[]) 

   if(
IsPlayerAdmin(playerid)) 
  {
       
PlayerSpectatePlayer(playeridotherPlayer);
  } 
  else 
  {
       return 
SendClientMessage(playerid, -"You're not rcon admin!");
  }
 return 
1;

You better don't script anymore.


Re: Spec command. - iLearner - 20.08.2016

ye i missed sscanf lmao