Add more types
#1

If I got this script

if(IsACopCar(newcar))
{
if(type == 1)
{
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Only LSPD and FBI got keys for this");
ClearAnimations(playerid);
}

How Can I add type 2 as well, so it type 1 and 2 that can use it.
Reply
#2

Код:
if(IsACopCar(newcar))
{
if(type == 1)
{
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Only LSPD and FBI got keys for this");
ClearAnimations(playerid);
}
if(type == 2)
{
//code
}
else
{
//code
}
}//this is for if(IsACopCar(newcar))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)