SFPD Gate Issues
#1

Ok, so i made the gates for the SFPD, and for some reason, it shoots out a wall of errors, now if i delete the script, everythings ok again. I have no idea what's causing it :S

Here's the errors
Код:
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3682) : error 004: function "GivePlayerMoneyEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3738) : error 004: function "ResetPlayerWeaponsEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3740) : error 004: function "GivePlayerWeaponEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3773) : error 004: function "ResetPlayerWeaponsEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3939) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3968) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(3997) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4095) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4119) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4143) : error 004: function "DestroyVehicleEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4352) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4356) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4360) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4372) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4376) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4380) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4384) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4388) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4401) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4405) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4435) : error 004: function "FixHour" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4537) : error 004: function "ResetPlayerWeaponsEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4538) : error 004: function "ResetPlayerMoneyEx" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4788) : error 004: function "MySQLCheckConnection" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(4789) : error 004: function "MySQLCheckAccount" is not implemented
C:\Users\Jay\Desktop\HGRP\gamemodes\HGRP.pwn(5178) : error 004: function "GivePlayerMoneyEx" is not implemented

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


26 Errors.
Here's the scripting
Код:
		else if(!strcmp(gate, "SFPD", true))
		{
		    if(IsACop(playerid))
		    {
		        GetPlayerPos( playerid, Positions[0][0], Positions[0][1], Positions[0][2]);
		        GetDynamicObjectPos(sfpdgate[0], Positions[1][0], Positions[1][1], Positions[1][2]);
		        if(GetDistance( Positions[0][0], Positions[0][1], Positions[0][2], Positions[1][2]) < 35.0)
		        {
		            if(Sfpdgatestate[0] == 0)
		            {
		                new string[128];
		                format(string,sizeof(string), "* %s uses %s remote to open the gates of the SFPD.", PlayerNameEx(playerid), HisHer(playerid));
		                //DestroyDynamicObject(sfpdgate[0] || sfpdgate[1]);
		                DestroyDynamicObject(1495,239.60000610,116.19999695,1002.20001221,0.00000000,0.00000000,90.00000000); //object(gen_doorext01) (1)
		                DestroyDynamicObject(1495,239.60000610,119.19999695,1002.20001221,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (2)
		                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
		                Sfpdgatestate[0] = 1;
		                return 1;
					}
					else
					{
					    new string[128];
					    format(string,sizeof(string), "* %s uses %s remote to close the gates of the SFPD.", PlayerNameEx(playerid,), HisHer(playerid));
						CreateDynamicObject(1495,239.60000610,116.19999695,1002.20001221,0.00000000,0.00000000,90.00000000); //object(gen_doorext01) (1)
						CreateDynamicObject(1495,239.60000610,119.19999695,1002.20001221,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (2)
					    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
						Sfpdgatestate[0] = 0;
						return 1;
					}
				}
				else
				{
					SendClientMessage(playerid, COLOR_LIGHTRED, "   You are not near the gate!");
					return 1;
				}
			}
			else
			{
			    SendClientMessage(playerid, COLOR_LIGHTRED, "   You do not have the keys!");
			}
			return 1;
		}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)