04.04.2012, 09:52
I was creating a basic DMV system (test system)
Nothing is working Player Can drive with DMV == 0 +REP
pawn Код:
new DMV[MAX_PLAYERS]; //TOP
//OnPlayerConnect
DMV[playerid] = 0;
//EnterVehicle
.... Other Codes here
if(DMV[playerid] == 0){
RemovePlayerFromVehicle(playerid);
return 1;
}
CMD:dmvtest(playerid,params[]) //Command to get the DMV
{
DMV[playerid] = 1;
return 1;
}