Police Tools For Police Skin
#1

Hey guys , i need to set some commands for Only police skins such as 280
i use LuxAdmin
Samp 3x
And this is the Filterscript i need to set its command For police skin = https://sampforum.blast.hk/showthread.php?tid=320458
Thanks
Reply
#2

PHP Code:
//under your cmd
if(GetPlayerSkin(playerid) != 280) return 0// I used return 0; but you can use return SendClientMessage(playerid,0xFFFFFFFF,"You aren't a cop!"); 
Reply
#3

No - don't use return 0. That will show the 'SERVER: Unknown Command' message.
Reply
#4

That could be useful if he plans to keep the command hidden for those people only, but he has the choice. Either SendClientMessage or return 0;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)