Jump to content

Question

Posted (edited)

Problema intalnita (descriere): Am adaugat o restrictie la masinile de Curier ,dar acum le incurca cu cele de la spawn
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): http://pastebin.com/wbi1mpYQ
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Logic

Edited by Tud0r. #Imparat #Codat

Retras

1 answer to this question

Recommended Posts

  • 0
Posted

Salut, incearca asa:

if(newstate == PLAYER_STATE_DRIVER)
{
	for(new i = 0; i < CourierVeh; i++) {
		if(!IsPlayerInVehicle(playerid, CourierVeh[i]) && PI[playerid][Job] != 2)
		{
			SCM(playerid, COLOR_ERROR, "Aceste vehicule pot fi conduse doar de cei care detin meseria de curier!");
			RemovePlayerFromVehicle(playerid);
		}
	}
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.