Autogate for certain skin.
#1

How do i make this work for just skin 20. i used GetPlayerSkin so the skin function is:

if(Skin==20);

public boatgate2timer()
{
new boatgate2status;
for(new i1;i1<MAX_PLAYERS;i1++)
{
if(!IsPlayerConnected(i1)) continue;
/* You would only use this if you're using SA-MP v0.2x or lower
if(PlayerToPoint(10.0, i, closed_X, closed_Y, closed_Z))c_gate_status = 1;
*/
if(IsPlayerInRangeOfPoint(i1,5,-2468.371338, 1547.240723, 24.030167))boatgate2status = 1;
}
if(boatgate2status)MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209,1);
else MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 1);
return 1;
}
Reply


Messages In This Thread
Autogate for certain skin. - by cozza123456 - 18.03.2010, 22:21
Re: Autogate for certain skin. - by aircombat - 18.03.2010, 22:26
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 22:27
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 22:53
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 22:55
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 23:03
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 23:05
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 23:07
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 23:12
Re: Autogate for certain skin. - by Fedee! - 18.03.2010, 23:15

Forum Jump:


Users browsing this thread: 2 Guest(s)