Jump to content
  • 0

Putin ajutor!


alinutz_boy32

Question

3 answers to this question

Recommended Posts

am pus si nu dispare ...

OnPlayerEnterVehicle

[pawn] if(Roman[playerid] == 0)

    {

  new string[256];

format(string, sizeof(string),"~g~Press ~r~2 ~g~to fix the car and you ~r~click ~g~to add ~r~NITRO!");

TextDrawSetString(Textdrawtext1,string);

    TextDrawShowForPlayer(playerid,Textdrawtext1);

new bstring[256];

format(bstring, sizeof(bstring),"_____~g~Type ~r~/tunar ~g~for tune this vehicle or ~r~/tc1-3.");

TextDrawSetString(Textdrawtext2,bstring);

    TextDrawShowForPlayer(playerid,Textdrawtext2);

new zbstring[256];

format(zbstring, sizeof(zbstring),"___Press ~r~Click ~w~for hide this message!");

TextDrawSetString(Textdrawtext3,zbstring);

    TextDrawShowForPlayer(playerid,Textdrawtext3);

}

    if(Roman[playerid] == 1)

    {

  new string[256];

format(string, sizeof(string),"~g~Apasa ~r~2 ~g~pentru a repara masina si apasa ~r~click ~g~pentru ~r~NITRO!");

TextDrawSetString(Textdrawtext1,string);

    TextDrawShowForPlayer(playerid,Textdrawtext1);

new bstring[256];

format(bstring, sizeof(bstring),"_______~g~Pentru ati tuna masina foloseste ~r~/tune ~g~sau ~r~/tc1-3.");

TextDrawSetString(Textdrawtext2,bstring);

    TextDrawShowForPlayer(playerid,Textdrawtext2);

new zbstring[256];

format(zbstring, sizeof(zbstring),"____Apasa ~r~Click ~w~pentru a inchide mesajul!");

TextDrawSetString(Textdrawtext3,zbstring);

    TextDrawShowForPlayer(playerid,Textdrawtext3);

}

return 1;

}[/pawn]

Dar la public OnPlayerExitVehicle(playerid, vehicleid) , nu reusesc sa fac !

Link to comment
Share on other sites

OnPlayerExitVehicle

PlayerTextDrawHide(playerid,Textdrawtext1);

restu continui tu...

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.