[FilterScript] [FS] Simple base License System (Download Link Added)
#1

Simple base License System

This is an simple base License System, it is very usefull for roleplay servers.
Without an license you CANT drive a car.

If you enter a car WITH license nothing happend and you are able drive.


How to edit?
To edit the thing what must happen when the player enter a car without license:
(Line: 143 - 149)

To change /buylic:
(Line 115 - 130)

Where can i find the includes?
DUDB: http://forum.sa-mp.com/index.php?topic=684.0 << By DracoBlue
Color Include: http://www.mediafire.com/?dglb1ngttdn << By Oxside

Do not want color include?
Simple remove #include <colors> on the top of the script.
And add this after the includes:
Код:
#define COLOR_RED 0xFF0000FF
#define COLOR_LIME 0x00FF00FF
Why not buy license on City Hall?
To do that i must at: PlayerToPoint.
But evry roleplay script is in an other city.
So i gave you the option to add it by yourself!

You are free to edit/modify this script by yourself!!!

http://pastebin.com/f3d95a8e6

Oxside

FOR ANY FIXES/EXTRA'S SCROLL DOWN IN THE TOPIC OR LOOK ON THE SECOND PAGE


Reply
#2

Forgive me if I'm wrong, but I can't see a download link, only links to the includes.
Reply
#3

There is some thing wrong, with the modify button.
I was posting it, and i edited an post the download link.

I wil post it again, but im now on school so i cant post it here.....

Reply
#4

Quote:
Originally Posted by Rulzz
There is some thing wrong, with the modify button.
I was posting it, and i edited an post the download link.

I wil post it again, but im now on school so i cant post it here.....

You can't be in the school all time link please?
Reply
#5

Oxside Can you make a licenses system that you can drive in cars?
and that you can buy them in a shop or bank?
Reply
#6

Yes i can but there a lot license systems on the forum
Reply
#7

υљєℓєљљ - тнєяєљ ησ ∂σωηℓσα∂ ℓιηк, ρυт ∂α ∂σωηℓσα∂ ℓιηк љσ ωє ўαη љαу тнαт тнιљ αιηт υљєℓєљљ - ву тнє ωαу. ησ υљє ѓσя ρυттιηg ιηўℓυ∂єљ σηℓу!
[м]σнαммє∂!
Reply
#8

Mohammed, stop writing in that shitty font it's annoying :/

it looks nice, I'll have to test when the link is up.
Reply
#9

Thank you
Reply
#10

Quote:
Originally Posted by NeRoSiS
Mohammed, stop writing in that shitty font it's annoying :/

it looks nice, I'll have to test when the link is up.
Why not?

[M]ohammed!
Reply
#11

When the link finally is up...?
Reply
#12

Sorry i lost the script..
Reply
#13

Quote:
Originally Posted by Oxside
Sorry i lost the script..
Make it again. it could be done in the space of 5 minutes.
Reply
#14

EDIT: DONE <-- Link added
Reply
#15

Thx
Reply
#16

no thanks :P
Reply
#17

Hey,

I have 4 Errors. Can you help me?

Found:

Код:
public OnPlayerConnect(playerid)
{
  new formatZ[256];
  new pName[MAX_PLAYER_NAME];
  new string[48];
	format(formatZ,sizeof(formatZ),"%s.txt",PlayerName(playerid);
	if(!udb_Exists(formatZ))
	{
	udb_Create(formatZ,"209010");
	}
  License[playerid] = dUserINT(formatZ).("License");
	return 1;
}
Errors:

Код:
C:\Users\Rajeev\Desktop\Server 0.3a R4\filterscripts\Licenses.pwn(76) : error 012: invalid function call, not a valid address
C:\Users\Rajeev\Desktop\Server 0.3a R4\filterscripts\Licenses.pwn(76) : warning 215: expression has no effect
C:\Users\Rajeev\Desktop\Server 0.3a R4\filterscripts\Licenses.pwn(76) : error 001: expected token: ";", but found ")"
C:\Users\Rajeev\Desktop\Server 0.3a R4\filterscripts\Licenses.pwn(76) : error 029: invalid expression, assumed zero
C:\Users\Rajeev\Desktop\Server 0.3a R4\filterscripts\Licenses.pwn(76) : fatal error 107: too many error messages on one line

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


4 Errors.
Thanks in advance
Reply
#18

Simple, but nice

good work
Reply
#19

Getting these errors:

Код:
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(74) : error 017: undefined symbol "PlayerName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(73) : warning 204: symbol is assigned a value that is never used: "string"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(72) : warning 204: symbol is assigned a value that is never used: "pName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(88) : error 017: undefined symbol "PlayerName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(87) : warning 204: symbol is assigned a value that is never used: "string"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(86) : warning 204: symbol is assigned a value that is never used: "pName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(125) : error 001: expected token: ";", but found "return"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(135) : error 001: expected token: ";", but found "-identifier-"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(136) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
First i had 7 but i was able to fix 3 of them..

Please help.
Reply
#20

Sorry guys, i reuploaded this so i made it fast because i lost the orginal.
But here how to fix:

add this under includes:

Код:
new playername[MAX_PLAYER_NAME];
and this somewhere else:

Код:
stock PlayerName(playerid) {
 new name[255];
 GetPlayerName(playerid, name, 255);
 return name;
}
Quote:
Originally Posted by [ECR
SancheZ ]
Getting these errors:

Код:
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(74) : error 017: undefined symbol "PlayerName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(73) : warning 204: symbol is assigned a value that is never used: "string"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(72) : warning 204: symbol is assigned a value that is never used: "pName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(88) : error 017: undefined symbol "PlayerName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(87) : warning 204: symbol is assigned a value that is never used: "string"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(86) : warning 204: symbol is assigned a value that is never used: "pName"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(125) : error 001: expected token: ";", but found "return"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(135) : error 001: expected token: ";", but found "-identifier-"
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\filterscripts\VehicleLicenses.pwn(136) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
First i had 7 but i was able to fix 3 of them..

Please help.
You fucked something up
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)