[FilterScript] Barrier System
#1

Intoduction


-Hi All I Created my first filescript
-This is for police class

Command


Код:
/br - to create barrier
Код:
/rbr - to remove barrier
Picture

Untitled.jpg

Download

Pastebin
Reply
#2

Players will get a lot of errors.
You didn't defined codes. For example:

pawn Код:
if(APlayerData[playerid][PlayerClass] != ClassPolice)

if (APlayerData[playerid][PlayerJailed] != 0)

if (pRoadblock[playerid] != 0)
Also, there's no stock for sending message to polices.

pawn Код:
Police_SendMessage(Msg);
Another code wich doesn't work:

pawn Код:
RemoveRoadblock(playerid);
If you want to release this filterscript, you should put defines, stocks, enums, variables.
Reply
#3

Quote:
Originally Posted by HY
Посмотреть сообщение
Players will get a lot of errors.
You didn't defined codes. For example:

pawn Код:
if(APlayerData[playerid][PlayerClass] != ClassPolice)

if (APlayerData[playerid][PlayerJailed] != 0)

if (pRoadblock[playerid] != 0)
Also, there's no stock for sending message to polices.

pawn Код:
Police_SendMessage(Msg);
Another code wich doesn't work:

pawn Код:
RemoveRoadblock(playerid);
If you want to release this filterscript, you should put defines, stocks, enums, variables.
Thank you for telling
Reply
#4

Quote:
Originally Posted by wahyumahadir
Посмотреть сообщение
Thank you for telling
Now you know, do something about it! At this stage your script is useless and doesn't do what you said it do.
Reply
#5

Nice Work and respect that its ur first fs
+rep for ur try <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)