[MAP/FS]Old airport stunt
#1

Hello this is my second Map created with MTA Map Editor. Pics:





Downloads:

Pastebin:
Pastebin

SolidFiles:


Teleport cmd:
Code:
	if(strcmp(cmdtext, "/oa", true) == 0) {
	if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetPlayerInterior(playerid,0);
SetVehiclePos(VehicleID,404.49334716797,2461.439453125,15.5);
GameTextForPlayer(playerid,"/OldAirport...",2500,3);
	} else {
new Float:X;
new Float:Y;
new Float:Z;
new fString[128];
new pName[20];
GetPlayerPos(playerid, X, Y, Z);
GetPlayerName(playerid, pName, 20);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,404.49334716797,2461.439453125,15.5);
format(fString, 128, "%s (ID:%d) Teleported to /oa", pName, playerid);
GameTextForPlayer(playerid,"/OldAirport...",2500,3);
SendClientMessageToAll(0x33CCFFAA, fString);

}
	return 1;
}
Reply


Messages In This Thread
[MAP/FS]Old airport stunt - by Daslee - 29.09.2009, 16:16
Re: [MAP/FS]Old airport stunt - by [XST]O_x - 29.09.2009, 16:45
Re: [MAP/FS]Old airport stunt - by Stunt_Guy_Drift_Guy - 29.09.2009, 17:12
Re: [MAP/FS]Old airport stunt - by Plolice_police - 29.09.2009, 17:40
Re: [MAP/FS]Old airport stunt - by Daslee - 30.09.2009, 08:41
Re: [MAP/FS]Old airport stunt - by RaFsTar - 30.09.2009, 09:13
Re: [MAP/FS]Old airport stunt - by AG Adam - 27.10.2009, 14:43
Re : [MAP/FS]Old airport stunt - by Christopher_Fois - 31.08.2010, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)