Jump to content

Recommended Posts

Posted

Am o problema, vreau sa fac un sistem si nu imi iese ceva

am facut un box si un textdraw si acel textdraw cand il apesi sa dispara el si sa apasa altu :
codu:

public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
	if(playertextid == Base[playerid][1]) {
		 PlayerTextDrawShow(playerid, Bara[playerid][3]);
		 PlayerTextDrawShow(playerid, Bara[playerid][4]);
		 PlayerTextDrawShow(playerid, Bara[playerid][5]);
		 PlayerTextDrawHide(playerid, Base[playerid][1]);
	}
	return 1;
}

si imi da cu virgula, un expert sau cineva care ma poate ajuta?

Posted
4 hours ago, nobilzeus said:

asta vrei să îl faci să dispară? 

Base[playerid][1]

 

pune l aici să vedem

Base[playerid][1] = CreatePlayerTextDraw(playerid, 301.000000, 270.000000, "PRESS TO START");
	PlayerTextDrawFont(playerid, Base[playerid][1], 3);
	PlayerTextDrawLetterSize(playerid, Base[playerid][1], 0.258332, 1.750000);
	PlayerTextDrawTextSize(playerid, Base[playerid][1], 16.500000, 90.500000);
	PlayerTextDrawSetOutline(playerid, Base[playerid][1], 1);
	PlayerTextDrawSetShadow(playerid, Base[playerid][1], 0);
	PlayerTextDrawAlignment(playerid, Base[playerid][1], 2);
	PlayerTextDrawColor(playerid, Base[playerid][1], 16711935);
	PlayerTextDrawBackgroundColor(playerid, Base[playerid][1], 255);
	PlayerTextDrawBoxColor(playerid, Base[playerid][1], 35784);
	PlayerTextDrawUseBox(playerid, Base[playerid][1], 1);
	PlayerTextDrawSetProportional(playerid, Base[playerid][1], 1);
	PlayerTextDrawSetSelectable(playerid, Base[playerid][1], 1);

eram la scl acuma am iesit

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.