Gate Problem
#1

I have added all correct ... In time to make the command to open the gate i /fail
I want only admins with level 50000 to open the gate
The command is:
PAWN Code:
Quote:

//--------------------------[Pavelic Gate------------------------------------//
if(!strcmp(cmdtext, "/openpavelicgate", true))
{
if(PlayerInfo[playerid][pAdmin] == 1339)
{
MoveObject(pavelicgate,326.3566, -1183.8431, 76.5650, 5);
SetTimer("GateClose", 3000, 0);
SendClientMessage(playerid, 0x00D9D9FF,"The Gate Is opened and WILL CLOSE IN 5 SEC =>HURRY<=");
return 1;
}
return 0;
}

Dont work
Reply
#2

you have a admin script?
Reply
#3

Код:
//--------------------------[Pavelic Gate------------------------------------//
if(!strcmp(cmdtext, "/openpavelicgate", true))
 {
  if(PlayerInfo[playerid][pAdmin] == 50000)
  {
   MoveObject(pavelicgate,326.3566, -1183.8431, 76.5650, 5);
   SetTimer("GateClose", 3000, 0);
   SendClientMessage(playerid, 0x00D9D9FF,"The Gate Is opened and WILL CLOSE IN 5 SEC =>HURRY<=");
   return 1;
  }
 return 0;
}
Reply
#4

Problem Resolved>>Thank you Guys



//-----------------------[DeleteThisPost]--------------------------//
PAWN Code
Quote:

if(!strcmp(cmdtext, "/DeletePost", true))
{
if(PlayerInfo[playerid][pAdmin] == 50000)
{
DeletePost(GateProblem,forum.sa-mp.com/index.php?action=post;topic=96260.0;num_replies=2) ;
SetTimer(''ForumAdmin", 3000, 0);
SendClientMessage(playerid, 0x00D9D9FF,"This Post Will Be deleted by an admin =>HURRY<=");
return 1;
}
return 0;
}

Omg My ideas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)