Own Car
#4

Код:
#include <a_samp>

#if defined FILTERSCRIPT
#define COLOR_WHITE 0xFFFFFFAA

new tomo;

public OnFilterScriptInit()
{
	print("\n------------------------");
	print("Masinu rezervacija by eMs_");
	print("------------------------\n");
	return 1;
}

public OnGameModeInit()
{
	tomo = CreateVehicle(444,-2534.7346,-616.5275,132.9338,269.4894,122,76,120); // monstras

	return 1;
}


public OnPlayerSpawn(playerid)
{
		SendClientMessage(playerid, COLOR_WHITE, "Masinu rezervuacijos scriptas by eMs_");
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if (vehicleid == tomo)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if (strcmp(name, "eMs_")) RemovePlayerFromVehicle(playerid);
}
return 1;
}
#endif
srry is not in english
Reply


Messages In This Thread
Own Car - by [LNL]Remulis - 06.03.2009, 15:57
Re: Own Car - by MenaceX^ - 06.03.2009, 16:03
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:03
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:04
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:10
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:13
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:13
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:15
Re: Own Car - by ICECOLDKILLAK8 - 06.03.2009, 16:16
Re: Own Car - by [LNL]Remulis - 06.03.2009, 16:18

Forum Jump:


Users browsing this thread: 2 Guest(s)