Gate help pls!!
#1

Hello, i want to make a gate that only the licensers will be able to open but i cant quite make it go my way.. so im looking for your help now! please tell me what i did wrong in this.

Код:
if(!strcmp(cmdtext, "/opendoor", true))
	{
   	    if(IsA L.S Licensers(playerid) || PlayerInfo[playerid][pAdmin] >= 6)
	    {
	        if(IsPlayerInRangeOfPoint(playerid, 3029,2119.5,-2275.6999511719,19.200000762939))
			{
			    if(armsdealerdoor == 0)
			    {
		      		MoveDynamicObject(armsdealerdoor, 2119.5,-2275.6999511719,16.799999237061, 1.7500);
		      		SendClientMessage(playerid, COLOR_BLUE,"Arms Dealer's Door is Open, Please Close it!");
		      		GetPlayerName(playerid, sendername, sizeof(sendername));
		      		format(string, sizeof(string), "* %s takes his/her remote control and opens the Door.", sendername);
		      		ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
		      		armsdealerdoor = 1;
				}
				else
				{
		      		MoveDynamicObject(armsdealerdoor, 2119.5,-2275.6999511719,19.200000762939, 3.0000);
		      		SendClientMessage(playerid, COLOR_BLUE,"Arms Dealer's Door is Closed, Thank You!");
		      		GetPlayerName(playerid, sendername, sizeof(sendername));
		      		format(string, sizeof(string), "* %s takes his/her remote control and closes the Door.", sendername);
		      		ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
		      		armsdealerdoor = 0;
				}
			}
This is the errors i get..
Код:
C:\Users\new account\Desktop\Everything and Anything\Server\Script\gamemodes\mazda.pwn(48626) : error 017: undefined symbol "IsA"
C:\Users\new account\Desktop\Everything and Anything\Server\Script\gamemodes\mazda.pwn(48626) : error 017: undefined symbol "L"
C:\Users\new account\Desktop\Everything and Anything\Server\Script\gamemodes\mazda.pwn(48626) : error 029: invalid expression, assumed zero
C:\Users\new account\Desktop\Everything and Anything\Server\Script\gamemodes\mazda.pwn(48626) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Gate help pls!! - by Shayaziz - 23.08.2012, 17:08
Re: Gate help pls!! - by Shayaziz - 23.08.2012, 17:21
Re: Gate help pls!! - by preda98 - 23.08.2012, 17:37
Re: Gate help pls!! - by Shayaziz - 23.08.2012, 18:38
Re: Gate help pls!! - by HyDrAtIc - 23.08.2012, 18:40
Re: Gate help pls!! - by Shayaziz - 23.08.2012, 18:51
Re: Gate help pls!! - by Shayaziz - 24.08.2012, 22:53

Forum Jump:


Users browsing this thread: 2 Guest(s)