A new way to add more vehicle in LARP.but still some problem
#1

I find a good way.

set all of the vehicles become ownable.and than

when the owner is FBI,COP,GANG_one..they can be driven by members.(it look so stupid?)

But there still some problem:

Код:
public IsACopCar(carid)
{
	new owner = CarInfo[carid][cOwner];
	if(owner == LSPD)
	{
		return 1;
	}
	return 0;
}

error 017: undefined symbol "LSPD"
How to solve this problem?
Reply
#2

pawn Код:
public IsACopCar(carid)
{
    if(strcmp(CarInfo[carid][cOwner], "LSPD", true) == 0)
    {
        return 1;
    }
    return 0;
}
Reply
#3

Quote:
Originally Posted by iTorran
Посмотреть сообщение
pawn Код:
public IsACopCar(carid)
{
    if(strcmp(CarInfo[carid][cOwner], "LSPD", true) == 0)
    {
        return 1;
    }
    return 0;
}
thx very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)