05.05.2010, 20:02
ah ye...you could use 'setpvarint' and getpvaring for license and stuff
its same as using 'enum' but newer and easyer;
https://sampwiki.blast.hk/wiki/SetPVarInt
for example;
SetPVarInt(playerid, "LICENSE", 0);//the player has no license
and
SetPVarInt(playerid, "LICENSE", 1);//the player has license
so if you made that..you could do
something like this
if (playerentervehicleblala)
{
if(GetPVarInt(playerid, "LICENSE"))
{
sendclientmessage "you have a license
{
else
{
you dont XD
its same as using 'enum' but newer and easyer;
https://sampwiki.blast.hk/wiki/SetPVarInt
for example;
SetPVarInt(playerid, "LICENSE", 0);//the player has no license
and
SetPVarInt(playerid, "LICENSE", 1);//the player has license
so if you made that..you could do
something like this
if (playerentervehicleblala)
{
if(GetPVarInt(playerid, "LICENSE"))
{
sendclientmessage "you have a license
{
else
{
you dont XD