Jump to content
  • 0

[GF/RP] Problema Masina personala..


Question

Posted

Salut am si eu o problema la masina personala cand cineva da enter in masina ta personala nu merge zice ca e a lui x , cum fac cand cineva da g in masina ta personala sa poata sa nu zica ca e masina lui x.?

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(vehicleid == x)
	{
		new sendername[MAX_PLAYER_NAME];
		GetPlayerName(playerid, sendername, sizeof(sendername));
		if(strcmp(sendername,"x",true))
		{
			SendClientMessage(playerid, COLOR_GREY,"Vehicul privat al jucatorului {FFFFFF} x!");
			new Float:x, Float:y, Float:z;
			GetPlayerPos(playerid, x, y, z);
			SetPlayerPos(playerid, x, y, z);
		 }
  	}

2 answers to this question

Recommended Posts

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.