Picklock Question.
#1

Hello, I want to make a picklock script, but I got a script, that if some one enters the car from a another gang member it kicks him out of the car.

if(CarID == sevillecar12)
{
if(PlayerColour == TEAM_SEVILLE )
{
//Message to team when enters car?
}
else
{
SendClientMessage(playerid, RED,"SERVER MESSAGE: You are not a member of the Seville Families.");
//SendClientMessage(playerid, YELLOW, "SERVER MESSAGE: If you have a picklock, you can brake into the vehicle. Read /picklock.");
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X+2, Y+2, Z+2);
}
}

Is there any possible script to picklock the car with "if" or "else?
Reply


Messages In This Thread
Picklock Question. - by Erkan - 17.07.2010, 18:43
Re: Picklock Question. - by ScottCFR - 17.07.2010, 18:46
Re: Picklock Question. - by Erkan - 17.07.2010, 18:50
Re: Picklock Question. - by XPlatform - 17.07.2010, 19:47
Re: Picklock Question. - by Erkan - 17.07.2010, 20:00

Forum Jump:


Users browsing this thread: 2 Guest(s)