11.08.2009, 16:10
Where im defining what im trying to find
What i need to define
EDIT: I know somthihg new now if someone can help me difen a thing calle d cFaction in a script file then call form it wehn player enters a car that would be great not asking to write it for me just a point in some direction or what every i can get!
Thanks in advanced for the help if ya want more info let me know i will give you details in a Pm on how to contact me
Код:
public IsAFactionCar(carInfo)
{
if (CarInfo[cFaction] == 1)
{
return 1;
}
return 0;
}
Код:
if (IsAFactionCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pLeader] == 3) { }
else { RemovePlayerFromVehicle(playerid); }
}
Код:
G:\larp test server\gamemodes\larp.pwn(2975) : error 025: function heading differs from prototype G:\larp test server\gamemodes\larp.pwn(2977) : error 033: array must be indexed (variable "CarInfo")
Thanks in advanced for the help if ya want more info let me know i will give you details in a Pm on how to contact me

