Jump to content
  • 0

msini pers


danieltrica

Question

am nevoie sami explice cineva amanunt cu amanunt cum pun masini pers

nu cum mia dat ala tutirialul ala sus in script am nev sa stiu unde gasesc script asta ceva de genu amanunt cu amanaunt

inca o daca va rog amanunt cu amanunt de xp:unde gasest aia unde le bag ce fac cu ele de udne le iau

[sTR]FiSoFt am intrat in calnu lu ruben

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest RockStar

Sus de tot

new Rock; // de exemplu ....

Dupaia sub OnGameModeInit

Rock = AddStaticVehicle( coordonate );

dupaia sub public OnPlayerStateChange

if(GetPlayerVehicleID(playerid) == Rock)
{
	new sendername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, sendername, sizeof(sendername));
	if(strcmp(sendername,"Rock",true)) // Rock = Numele playerului care poate sa foloseasca masina
	{
		SendClientMessage(playerid,COLOR_GREY," Aceasta masina ii apartine lui Rock");
		RemovePlayerFromVehicle(playerid);
	}
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.