Text to appear
#3

Quote:
Originally Posted by ()ZzY
How I make on this command a text?


I tried to do, but nothing


THANKS
Try this :
pawn Код:
//=====================[ Vama1 ]====================================================================================
if(!strcmp(cmdtext, "/vamasf", true))
{
    if(PlayerInfo[playerid][pPassport] == 1)
    {
    if(PlayerToPoint(2.0,playerid,-991.1277,-1009.0092,94.3856))
      {
         SetObjectRot(vama1,2.5783, 21.4859, 225.8595);
       SetTimer("GateClose", 5000, 0);
         SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to San Fierro");
       GivePlayerMoney(playerid,-50);
      }

    }
    else
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ai pasaport , du-te la primarie si iati");
    }
 
  return 1;
}
You with your script you look if PlayerInfo[playerid][pPassport] == 1
if that's true, you check if PlayerInfo[playerid][pPassport] == 0, what automaticly is no, so the tekst won't appear and the object won't move, try my code
Reply


Messages In This Thread
Text to appear - by ()ZzY - 11.11.2009, 16:17
Re: Text to appear - by caribe88 - 11.11.2009, 16:22
Re: Text to appear - by dirkblok - 11.11.2009, 16:49
Re: Text to appear - by ()ZzY - 11.11.2009, 17:14
Re: Text to appear - by dirkblok - 12.11.2009, 06:28

Forum Jump:


Users browsing this thread: 1 Guest(s)