8 Track Interior. [Help] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 8 Track Interior. [Help] (
/showthread.php?tid=267539)
8 Track Interior. [Help] -
HayZatic - 08.07.2011
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!
Re: 8 Track Interior. [Help] -
Shadoww5 - 08.07.2011
Which cars ?
Player's one ?
Re: 8 Track Interior. [Help] -
HayZatic - 08.07.2011
Quote:
Originally Posted by Shadoww5
Which cars ?
Player's one ?
|
The First 4 cars
Re: 8 Track Interior. [Help] -
BigETI - 08.07.2011
Use
pawn Код:
LinkVehicleToInterior(vehicleid, interiorid);
to link the vehicles into special interior ID's.