SA-MP Forums Archive
[Tutorial] /cuff and /uncuff Tutorial (sscanf)+(ZCMD) - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] /cuff and /uncuff Tutorial (sscanf)+(ZCMD) (/showthread.php?tid=618127)

Pages: 1 2


Re: /cuff and /uncuff Tutorial (sscanf)+(ZCMD) - Triggerz - 22.01.2017

Quote:
Originally Posted by RyderX
Посмотреть сообщение
Ye so it'll be like this:

PHP код:
CMD:admin(playerid,params[])
{
      if(
IsPlayerAdmin(playerid)
      {
          
SendClientMessageToAll(0xf8f8f8fff,"he is an admin");
      }
      else
      {
       
SendClientMessage(playerid,0xf8f8f8888,"You aren't an RCON Admin to access to this shit");
      }
      return 
1;

Thanks!


Re: /cuff and /uncuff Tutorial (sscanf)+(ZCMD) - JohnFlores - 24.07.2017

C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\CuffAndUncuff.pwn( : error 017: undefined symbol "gTeam"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\CuffAndUncuff.pwn( : warning 215: expression has no effect
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\CuffAndUncuff.pwn( : error 001: expected token: ";", but found "]"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\CuffAndUncuff.pwn( : error 029: invalid expression, assumed zero
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\CuffAndUncuff.pwn( : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.




What Is This?


Re: /cuff and /uncuff Tutorial (sscanf)+(ZCMD) - coool - 24.07.2017

I would just loop through all players and would check if any body is in range or not.. Instead of the id parameter.