SA-MP Forums Archive
[FilterScript] Barrier System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Barrier System (/showthread.php?tid=561516)



Barrier System - wahyumahadir - 03.02.2015

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


Re: Barrier System - HY - 03.02.2015

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.


Re: Barrier System - wahyumahadir - 03.02.2015

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


Re: Barrier System - doreto - 03.02.2015

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.


Re: Barrier System - HydraHumza - 05.02.2015

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