How to create my own VIP FS [HELP]
#1

Can anyone show me how to create a vip filterscript? A vip script with 3 levels. There is only one Tutorial showing how to create a VIP Script. Its ZCMD and the other rest (Made by Tanush). I want one using strcmp. Can someone help me with this? Also, show me to create a simple command etc. /heal which players with VIP Level 1 can use. Then the rest I can do. Please help. This will be a big favor.
Reply
#2

rather switch to ZCMD mouch faster and easier with using sscanf2. I cant help you with strcmp since i dont know shit about it
Reply
#3

Alright.
Reply
#4

The VIP Scripts done by people, are not working much nowdays...
Reply
#5

If you use LuxAdmin you can do what i did.

Just create new filterscript, add:

pawn Код:
#include <a_samp>
#include <ladmin>
#include <sscanf2>
#include <zcmd>
#include <foreach>
and for commands:

pawn Код:
CMD:example(playerid, params[])
{
  if(IsPlayerVipType(playerid,2))
{
    //do something
}
    else SendClientMessage(playerid, COLOR_GREEN, "Error: You are not Gold or Premium Member to use this command!");
  return 1;
}
And with this create the commands that you want.

If you dont use lux admin, try to create your own from admin system tutorial, is almost the same.
Reply
#6

I think I guessed my problem. Its sscanf. Can you tell me on what to put and do with the sscanf. Where to define it, every move. Must you also put ssacnf2 in server.cfg, plugins? Also on what to do with sscanf2 dealing with Gamemode.
Reply
#7

You can learn everything about sscanf2 HERE.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)