Jump to content
  • 0

Ajutor comanda /vehspawn


S1meD.

Question

5 answers to this question

Recommended Posts

  • 0
CMD:vehspawn(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi  mai intai.");
	new getcarid = GetPlayerVehicleID(playerid);
	if(getcarid != personalcar[playerid]) return SCM(playerid,COLOR_DS,"Trebuie sa fii in vehiculul tau personal!Pentru a spawna alt vehicul personal!");
	{
		ShowPlayerDialog(playerid, DIALOG_VEHSPAWN , DIALOG_STYLE_LIST , "Personal Cars","CarnMoto|BikenHelinPremium Car" , "Spawn" , "Exit");
	}
	return 1;
}

Dar eu vreau să ți se spawneze mașina automat cînd intri.

Link to comment
Share on other sites

  • 0

Scoti comanda inclusiv dialogul si la OnPlayerLogin adaugi spawnarea masinilor personale . Daca nu ma insel , aici cand poti sa spawnezi o singura masina si daca alegi alta dispare cea spawnata nu ? Daca da, dupa ce ai sters comanda si dialogul trebuie sa faci citirea masinilor personale ale unui player .

Edited by NoNamed
Link to comment
Share on other sites

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.