Text on the comand
#1

How can I make this command a text, eg "You have a passport?

Код:
  if(!strcmp(cmdtext, "/vamasf", true))
  {
    if(PlayerInfo[playerid][pPassport] == 1)
    if(PlayerToPoint(2.0,playerid,-993.4935,-1006.3951,94.1104))
    {
	SetObjectRot(vama1,2.5783, 21.4859, 225.8595);
  SetTimer("GateClose", 5000, 0);
	SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to San Fierro");
  GivePlayerMoney(playerid,-50);
  return 1;
}
Reply
#2

Nobody Know's?
Reply
#3

Код:
 if(!strcmp(cmdtext, "/vamasf", true))
  {
    if(PlayerInfo[playerid][pPassport] == 1)
if(PlayerInfo[playerid][pPasswort] == 0) return SendClientMessage(playerid, COLOR_RED, "You have a password?");
    if(PlayerToPoint(2.0,playerid,-993.4935,-1006.3951,94.1104))
    {
	SetObjectRot(vama1,2.5783, 21.4859, 225.8595);
  SetTimer("GateClose", 5000, 0);
	SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to San Fierro");
  GivePlayerMoney(playerid,-50);
  return 1;
}
Reply
#4

Tanks a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)