01.10.2009, 14:06
Hello this is Old airport drag created with MTA Map Editor. Pics:


Downloads:
Pastebin:
Pastebin
SolidFiles:

Teleport cmd:
*Special for kokkie20*


Downloads:
Pastebin:
Pastebin
SolidFiles:

Teleport cmd:
Код:
if(strcmp(cmdtext, "/oadrag", 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,363.70822143555,2531.2592773438,15.672828674316);
GameTextForPlayer(playerid,"/OldAirportDrag...",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,363.70822143555,2531.2592773438,15.672828674316);
format(fString, 128, "%s (ID:%d) Teleported to /oadrag", pName, playerid);
GameTextForPlayer(playerid,"/OldAirportDrag...",2500,3);
SendClientMessageToAll(0x33CCFFAA, fString);
}
return 1;
}

