[MAP/FS]Drag Track
#1

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




Downloads:

Pastebin:
Pastebin

SolidFiles:


Teleport cmd:
Код:
	if(strcmp(cmdtext, "/drag", 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,-3081.7578125,-483.06115722656,2.6840419769287);
GameTextForPlayer(playerid,"/Drag...",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,-3081.7578125,-483.06115722656,2.6840419769287);
format(fString, 128, "%s (ID:%d) Teleported to /drag", pName, playerid);
GameTextForPlayer(playerid,"/Drag...",2500,3);
SendClientMessageToAll(0x33CCFFAA, fString);

}
	return 1;
}
Reply


Messages In This Thread
[MAP/FS]Drag Track - by Daslee - 30.09.2009, 11:35
Re: [MAP/FS]Drag Track - by [03]Garsino - 30.09.2009, 11:47
Re: [MAP/FS]Drag Track - by MeHaBeL - 30.09.2009, 13:33
Re: [MAP/FS]Drag Track - by Daslee - 30.09.2009, 15:08
Re: [MAP/FS]Drag Track - by [XST]O_x - 30.09.2009, 16:14
Re: [MAP/FS]Drag Track - by kokkie20 - 30.09.2009, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)