Jump to content
  • 0

pomoc Help s jailem


HighPrint

Dotaz

4 odpovědí na tuto otázku

Recommended Posts

  • 0

erm, udělej si to takle

Forwardy:

forward cochces();

přikaz /jail

SetTimerEx("cochces", 20000, 0, "i", playerid);

20000 si změn na svuj čas!!

do modu

Public cochces()
{
SetPlayerPos(playerid,X,Y,Z);return 1;
}

a jinak textdraw na to neumim,

ale mužeš si dát

GameTextForPlayer(playerid, "~R~%d",300,2,odpočet);

to fakt neumim

Link to comment
Share on other sites

  • 0

neni toto nějaká blbost ?

 

GameTextForPlayer(playerid, "~R~%d",300,2,odpočet);

 

na to se používá format jestli nevíš :

 

new string[256];
format(string, sizeof(string), "~R~%d",odpočet);
GameTextForPlayer(playerid,string,300,2);

 

EDIT: a s text drawem je to uplně stejný, akorát si musíš vytvořit jakýkoli text draw a pak už jen to samý jako u gametext :

 

new string[256];
format(string, sizeof(string), "~R~%d",odpočet);
TextDrawSetString(textdraw,string);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...