Novo modo de abrir o portao da DP
#1

pawn Код:
public OnGameModeInit()
{
//maquininha da DP
CreateObject(2922, 246.208984375, 72.328125, 1005.3997802734, 0, 0, 0);
CreateObject(2922, 247.82554626465, 72.33472442627, 1004.1120605469, 0, 0, 180);
CreateObject(2922, 245.1796875, 72.890625, 1003.9756469727, 0, 0, 0);
CreateObject(2922, 250.40625, 64.659118652344, 1004.0599975586, 0, 0, 99);
CreateObject(2922, 247.88352966309, 77.055191040039, 1004.1102905273, 0, 0, 91);
return 1;
}

public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if ((newkeys==KEY_SECONDARY_ATTACK))
{
   if(IsPlayerInRangeOfPoint(playerid, 1.0, 247.005905 , 72.448440 , 1003.640625))
   {
         OnPlayerCommandText(playerid,"/pp");
   }
}
if ((newkeys==KEY_SECONDARY_ATTACK))
{
   if(IsPlayerInRangeOfPoint(playerid, 5.0, 248.142105 , 78.125961 , 1003.640625))
   {
         OnPlayerCommandText(playerid,"/pv");
   }
}
if ((newkeys==KEY_SECONDARY_ATTACK))
{
   if(IsPlayerInRangeOfPoint(playerid, 5.0, 250.774871 , 60.822799 , 1003.640625))
   {
         OnPlayerCommandText(playerid,"/pr");
   }
}
return 1;
}
By eu
Reply


Messages In This Thread
Novo modo de abrir o portao da DP - by Victos_xd - 09.08.2011, 18:54
Re: Novo modo de abrir o portao da DP - by RockFire - 09.08.2011, 18:55
Re: Novo modo de abrir o portao da DP - by Victos_xd - 09.08.2011, 19:02
Re: Novo modo de abrir o portao da DP - by Josma_cmd - 09.08.2011, 19:04
Re: Novo modo de abrir o portao da DP - by [R] ousenber [K] - 09.08.2011, 19:04
Re: Novo modo de abrir o portao da DP - by ViniBorn - 09.08.2011, 19:35
Re: Novo modo de abrir o portao da DP - by [S]trong - 09.08.2011, 19:39
Re: Novo modo de abrir o portao da DP - by steki. - 09.08.2011, 19:58
Re: Novo modo de abrir o portao da DP - by URSS_Morelli - 09.08.2011, 19:58
Re: Novo modo de abrir o portao da DP - by JonathanFeitosa - 09.08.2011, 20:02

Forum Jump:


Users browsing this thread: 6 Guest(s)