Godfather Tean gates
#1

okay... how i can make godfather gates?? i own team and gate but it isnt working :S

Код:
forward IsAGangsta(playerid);
Код:
public IsAGangsta(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	  new leader = PlayerInfo[playerid][pLeader];
	  new member = PlayerInfo[playerid][pMember];
	  if(member==19 || member==19 || member==19 || member==19)
		{
		  return 1;
		}
		else if(leader==19 || leader==19 || leader==19 || leader==19)
		{
		  return 1;
		}
	}
	return 0;
}
Код:
	if(!strcmp(cmdtext, "/selidown", true)) { // Edit the /eup to your elevator command.
		if(gTeam[playerid] == 19 || IsAGangsta(playerid))
   MoveObject(elevator,3329.102295, -1186.921997, 20.043280,2.00); // Put your cords in here
else SendClientMessage(playerid,COLOR_YELLOW,"You Have To Be a police officer to use this command");
	return 1;

C:\Documents and Settings\Jaan\Desktop\Sona GM\pawno\include\steam.inc(145) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Jaan\Desktop\Sona GM\pawno\include\steam.inc(145) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Jaan\Desktop\Sona GM\pawno\include\steam.inc(145) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(1922) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(1926) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2086) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2090) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2094) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(209 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2102) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2106) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2110) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2122) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2126) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2130) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2134) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(213 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2150) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2154) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(215 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2170) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(2174) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(4767) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(4934) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(4943) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(4952) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5071) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5106) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5109) : warning 209: function "OnPlayerStateChange" should return a value
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5660) : warning 219: local variable "distance" shadows a variable at a preceding level
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5705) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5784) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5874) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(5875) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(6401) : warning 217: loose indentation
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(6401) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(6407) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Jaan\Desktop\Sona GM\gamemodes\Sabotech.pwn(6413) : error 004: function "PlayerToPoint" is not implemented



i dont care about warnings atm ... help plz ...


If i did something wrong then help plz

I have scripted 1 month max.

If you have other idea or smthing then reply on this post/pm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)