08.07.2011, 21:39
So heres the Code that i have right now.
Currently this is the only code i have for the 8 track. It works and all, but the cars are invisible, I need help!
Код:
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;