What's the problem?
#1

What's the problem with this script, it compiles very good
but In-Game the bikes needs a license too..

Quote:

new model;
model = GetVehicleModel(vehicleid);
if(model != 509 && 481 && 510) {
if(pDLic[playerid] == 0) {
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X, Y, Z);

SendClientMessage(playerid, COLOR_LRED, "** You don't have a driving license yet, please get your Driving license at the DMV.");
return 1;
}
}

Reply
#2

Change this:
pawn Код:
if(model != 509 && 481 && 510)
to
pawn Код:
if(model != 509 && model != 481 && model != 510)
Reply
#3

Quote:
Originally Posted by CAR
Change this:
pawn Код:
if(model != 509 && 481 && 510)
to
pawn Код:
if(model != 509 && model != 481 && model != 510)
Thanks man! It works!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)