Jump to content

[REZOLVAT] Intrebare system


LemMoNV2
 Share

Recommended Posts

  • Administrator

Nu mai e nevoie, poftim:

function isTruck( carID ) {
	switch( GetVehicleModel( carID ) ) {
		case 403, 514, 515: return true; 
	}
	
	return false;
}

if( PlayerInfo[ playerid ][ pTruckerLic ] > 1 ) {
	if( isTruck( GetPlayerVehicleID( playerid ) ) ) continue;

	else {
		SCM( playerid, COLOR_GREY, "Nu ai licenta de tirist." );
		SlapPlayer( playerid );
		TogglePlayerControllable( playerid, 1 );
		SetTimerEx( "UnFreezeStation", 500, 0, "i", playerid );
	}
}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...