3 problems
#1

1 I've been making a faction and I just get done, test the /cia command and it says unknown command, wtf? heres the CMD in script:
Код:
CMD:CIA(playerid, params[])
{
	if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
	{
		if (IsPlayerInRangeOfPoint(playerid,4, -761.904663, 2575.887451, 10016.670898) || IsPlayerInRangeOfPoint(playerid,4, -757.500488, 2575.700927, 10016.677734))
		{
			ShowPlayerDialog(playerid, CIADUTYMENU, DIALOG_STYLE_LIST, "CIA Menu","Duty \nEquipment \n Agent one Uniform \nAgent two Uniform \nUndercover \nClear Suspect", "Select", "Cancel");
		}
		else
		{
			SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your CIA lockers.");
		}
	}
	return 1;
}

2 Im a newb at scripting I have a basic rp script witch my scripter has been developing, but he left, so where/how do i set where matruns are the system is already made




3 All the points in my server arnt where they are supposed to be and they are all called point "1" why?
Reply
#2

pawn Код:
CMD:CIA(playerid, params[])
{
    if(PlayerInfo[playerid][pModel] == 13 || PlayerInfo[playerid][pCash] == 13)
    if (IsPlayerInRangeOfPoint(playerid,4, -761.904663, 2575.887451, 10016.670898) || IsPlayerInRangeOfPoint(playerid,4, -757.500488, 2575.700927, 10016.677734))
    {
            ShowPlayerDialog(playerid, CIADUTYMENU, DIALOG_STYLE_LIST, "CIA Menu","Duty \nEquipment \n Agent one Uniform \nAgent two Uniform \nUndercover \nClear Suspect", "Select", "Cancel");
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your CIA lockers.");
    }
    return 1;

}
Reply
#3

Quote:
Originally Posted by Chrillzen
Посмотреть сообщение
pawn Код:
CMD:CIA(playerid, params[])
{
    if(PlayerInfo[playerid][pModel] == 13 || PlayerInfo[playerid][pCash] == 13)
    if (IsPlayerInRangeOfPoint(playerid,4, -761.904663, 2575.887451, 10016.670898) || IsPlayerInRangeOfPoint(playerid,4, -757.500488, 2575.700927, 10016.677734))
    {
            ShowPlayerDialog(playerid, CIADUTYMENU, DIALOG_STYLE_LIST, "CIA Menu","Duty \nEquipment \n Agent one Uniform \nAgent two Uniform \nUndercover \nClear Suspect", "Select", "Cancel");
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your CIA lockers.");
    }
    return 1;

}
I <3 you, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)