Jump to content
  • 0

pomoc Premenenie


fabbeN

Dotaz

Ahojte..

ako sa dá urobiť že ked má nejaký hráč premennú na 1 neukáže ,,1" ale ukáže že ,,Áno" atd.. a ked je premenná na 0 tak ukáže že ,,Nie"

Dakujem :d

S týmto som sa ešte nestretol :d

Link to comment
Share on other sites

12 odpovědí na tuto otázku

Recommended Posts

  • 0

toto ma zaujalo a tiež by som sa chcel opitat ako sa to narve do dialogu...ak je tam toho viac napr:nazov mapy pri niejakej činnosti... lebo ako viem tato funkcia"new XXX;" nebere text,

tak ako to mam tam dať.. ?

zoberme že toto je info status...

new string[256];
format(string,256,"MAP: %s",XXX);
    ShowPlayerDialog(playerid,455,DIALOG_STYLE_MSGBOX,"Info",string,"Storno","");

Link to comment
Share on other sites

  • 0
toto ma zaujalo a tiež by som sa chcel opitat ako sa to narve do dialogu...ak je tam toho viac napr:nazov mapy pri niejakej činnosti... lebo ako viem tato funkcia"new XXX;" nebere text,

tak ako to mam tam dať.. ?

zoberme že toto je info status...

new string[256];
format(string,256,"MAP: %s",XXX);
    ShowPlayerDialog(playerid,455,DIALOG_STYLE_MSGBOX,"Info",string,"Storno","");

 

 

Dáš si tam větší string třeba 1500 a použiješ strcat

Link to comment
Share on other sites

  • 0

new nazov[100];
if(map == 1)
{
  nazov = "Extreme";
}else
if(map == 2)
{
}

Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           xxxbytes
Code size:           xxxxxxxbytes
Data size:           xxxxxbytes
Stack/heap size:      xxxx bytes; estimated max. usage=xxxxcells (xxxxbytes)
Total requirements: xxxxxbytes

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