29.09.2009, 15:09
Hello this is my first Map create with MTA Map Editor. Pics:
![](http://www.part.lt/img/d6e30f124ffb9b5edeb95f5b591d35fb62.jpg)
![](http://www.part.lt/img/1aae669eb2989113b85882e7b912fdb2318.jpg)
Downloads:
Pastebin:
Pastebin
FS:
![](http://solidfiles.com/info_imgs/xO8A.jpg)
Teleport cmd:
![](http://www.part.lt/img/d6e30f124ffb9b5edeb95f5b591d35fb62.jpg)
![](http://www.part.lt/img/1aae669eb2989113b85882e7b912fdb2318.jpg)
Downloads:
Pastebin:
Pastebin
FS:
![](http://solidfiles.com/info_imgs/xO8A.jpg)
Teleport cmd:
Код:
if(strcmp(cmdtext, "/kartrace", 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,-1054.50390625,167.0634765625,1.75); GameTextForPlayer(playerid,"/kartrace...",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,-1054.50390625,167.0634765625,1.75); format(fString, 128, "%s (ID:%d) Teleported to /kartrace", pName, playerid); GameTextForPlayer(playerid,"/kartrace...",2500,3); SendClientMessageToAll(0x33CCFFAA, fString); } return 1; }