8 Track Interior. [Help]
#1

So heres the Code that i have right now.

Код:
if (strcmp("/daytona", cmdtext, true, 10) == 0)
	{
		if(InDm[playerid] == 1)
		{
		SendClientMessage(playerid, COLOR_RED,"Error: You cannot use this command in a DM! You must /leavedm first.");
		return 1;
	}
		SetPlayerInterior(playerid,7);
		SetPlayerPos(playerid,-1395.958,-208.197,1051.170);
		GameTextForPlayer(playerid,"Welcome to daytona!!",4000,6);
		new string[256], pname[MAX_PLAYER_NAME];
		GetPlayerName(playerid, pname, sizeof(pname));
		format(string, sizeof(string), "%s has gone to the racetrack!(/daytona) ", pname);
		SendClientMessageToAll(COLOR_YELLOW, string);
 		return 1;
Currently this is the only code i have for the 8 track. It works and all, but the cars are invisible, I need help!
Reply
#2

Which cars ?

Player's one ?
Reply
#3

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
Which cars ?

Player's one ?
The First 4 cars
Reply
#4

Use
pawn Код:
LinkVehicleToInterior(vehicleid, interiorid);
to link the vehicles into special interior ID's.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)