CreateVehicle? Attach3DTextLabel
#1

Quote:

if(dialogid == 538 && response)
{
format(String, sizeof(String), ".тмйк мзлеъ тег %d гчеъ лгй мдъзйм аъ дощйод ", (userdata[playerid][pizzatimer] - gettime())/60);
if(userdata[playerid][pizzatimer] - gettime() > 0) return SendClientMessage(playerid, COLOR_KRED, String);

if(PizzaMissionStarted == 1) return SendClientMessage(playerid, COLOR_KRED, "!йщ лшвт ойщде щобцт аъвш жд, ара доъп");
if(InPizzaMission[playerid] == 1) return SendClientMessage(playerid, COLOR_KRED, "!аъд лбш роца бощйод жаъ");
if(!CPS_IsPlayerInCheckpoint(playerid, CP_StartPizzaMission))return SendClientMessage(playerid, COLOR_KRED, "! аъд ма роца бойчен дрлеп щм дъзмъ дощйод");
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_KRED, "! аъд роца бшлб, ара ца одшлб тм оръ мдъзйм аъ дощйод");
// ====== Mission starting ======= //
InPizzaMission[playerid] = 1;
PizzaMissionStarted = 1;
userdata[playerid][pizzatimer] = (gettime() + 600);
SaveUserFile(playerid);
foreach (new i : Player)
{
---- PizzaCar = CreateVehicle(448, -2265.7061,534.7355,34.7427,271.6508, 1, 1, -1);
new Text3D:PIZZA = Create3DTextLabel("PizzaBoy", 0x00C7FFFF, 30.0, 60.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(PIZZA, playerid, 0.0, 0.0, 0.7);
----- }
SetPlayerVirtualWorld(playerid, 953);
SetVehicleVirtualWorld(PizzaCar, 953);
TextDrawShowForPlayer(playerid,MissionTimeTD[playerid]);
PutPlayerInVehicle(playerid, PizzaCar, 0);
DisablePlayerRaceCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid, 1, -1284.8553,44.7940,13.7093, 0.0, 0.0, 0.0, 30);
SendClientMessage(playerid, COLOR_GREEN,"!дъзмъ аъ дощйод");
format(String,sizeof(String),"{FFFFFF}**{FF9900}[Mission System]: !дъзйм аъ ощйоъ дфйцд {FFFFFF}%s {FF9900}дщзчп",GetName(playerid));
SendClientMessageToAll(COLOR_GREEN,String);
PizzaMission2[playerid] = SetTimerEx("PizzaMission", (60000 * 2), false, "i", playerid);
CountDown(120);
SendClientMessage(playerid, COLOR_KRED, "!мшщеък 2 гчеъ мдтбшъ дощмез, щйдйд бдцмзд");
return 1;
}

Hello Guys, I've made a mission and currently I have a little problem...
I want to make Attach3DTextLabel "PizzaBoy" to the player.
:X I hope you guys can help me.
Btw sorry about my english
Reply


Messages In This Thread
CreateVehicle? Attach3DTextLabel - by SaMuRy - 28.09.2018, 20:06
Re: CreateVehicle? Attach3DTextLabel - by solstice_ - 28.09.2018, 20:07
Re: CreateVehicle? Attach3DTextLabel - by SaMuRy - 28.09.2018, 20:09
Re: CreateVehicle? Attach3DTextLabel - by solstice_ - 28.09.2018, 20:28
Re: CreateVehicle? Attach3DTextLabel - by SaMuRy - 28.09.2018, 21:21
Re: CreateVehicle? Attach3DTextLabel - by solstice_ - 28.09.2018, 21:24
Re: CreateVehicle? Attach3DTextLabel - by SaMuRy - 28.09.2018, 21:26
Re: CreateVehicle? Attach3DTextLabel - by solstice_ - 28.09.2018, 21:27
Re: CreateVehicle? Attach3DTextLabel - by Undef1ned - 28.09.2018, 21:29
Re: CreateVehicle? Attach3DTextLabel - by SaMuRy - 28.09.2018, 21:37

Forum Jump:


Users browsing this thread: 2 Guest(s)