[Ajuda] "G" Enforcer Ajuda
#1

Galera tou com bagulho aqui que queria "retirar"

Tipo quando dou "G" em quaquer ENFORCER sou teleportado para esse local.

ja dei /save mesmo assim nгo acho a codenada.

Queria retirar ele pra ficar do geito normal!

Alguem ajuda'?

Reply
#2

Procura em OnPlayerKeyStateChange .
Reply
#3

Procuerei em tudo ai mas acho que nг ta ai '-'

Quote:

public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
new string[128];
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
OnPlayerCommandText(playerid,"/entrar");
OnPlayerCommandText(playerid,"/sair");
if(PlayerToPoint(3, playerid, 2780.4939,-1812.2635,11.843)
{
OnPlayerCommandText(playerid,"/concessionaria");
}
if(PlayerAnim[playerid] == true)
{
ClearAnimations(playerid);
PlayerAnim[playerid] = false;
}
if (PlayerToPoint(1.1, playerid, 247.2936,77.4821,1003.6406)) // portao vest fora
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,247.2936,77.4821,1003.6406);
SetPlayerFacingAngle(playerid, 266.9180);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pv");
}
}
if (PlayerToPoint(1.1, playerid, 249.3107,74.2571,1003.6406)) // portao vest dentro
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,249.3107,74.2571,1003.6406);
SetPlayerFacingAngle(playerid, 93.4574);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pv");
}
}
if (PlayerToPoint(1.1, playerid, 245.0195,71.3762,1003.6406)) // pp fora
{
if(IsACop(playerid) || PlayerInfo[playerid][pEmprego] == 2)
{
SetPlayerPos(playerid,245.0195,71.3762,1003.6406);
SetPlayerFacingAngle(playerid, 1.7752);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pp");
}
}
if (PlayerToPoint(1.1, playerid, 249.8460,64.8226,1003.6406)) // pr fora
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,249.8460,64.8226,1003.6406);
SetPlayerFacingAngle(playerid, 273.249;
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pr");
}
}
if (PlayerToPoint(1.1, playerid, 251.5490,64.8285,1003.6406)) // pr dentro
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,251.5490,64.8285,1003.6406);
SetPlayerFacingAngle(playerid, 91.4545);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pr");
}
}
if (PlayerToPoint(1.1, playerid, 319.0898,-1485.6914,24.6590)) // pb3 fora
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,319.0898,-1485.6914,24.6590);
SetPlayerFacingAngle(playerid, 58.0972);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pb");
}
}
if (PlayerToPoint(1.1, playerid, 324.1216,-1491.6272,24.593) // pb3 dentro
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,324.1216,-1491.6272,24.593;
SetPlayerFacingAngle(playerid, 313.2777);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pb");
}
}
if (PlayerToPoint(1.1, playerid, 285.2658,-1545.6089,24.8703)) // pb2 fora
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,285.2658,-1545.6089,24.8703);
SetPlayerFacingAngle(playerid, 243.4251);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pb2");
}
}
if (PlayerToPoint(1.1, playerid, 280.3053,-1539.2838,24.5934)) // pb2 dentro
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,280.3053,-1539.2838,24.5934);
SetPlayerFacingAngle(playerid, 148.1709);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/pb2");
}
}
if (PlayerToPoint(1.1, playerid, 941.6736,-1013.3484,32.4650)) // ppf fora
{
if(IsACop(playerid))
{
SetPlayerPos(playerid,941.6736,-1013.3484,32.4650);
SetPlayerFacingAngle(playerid, 271.680;
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/ppf");
}
}
if (PlayerToPoint(1.1, playerid, 925.7493,-1211.3282,16.9764)) // ppc fora
{
if(IsACop(playerid) || PlayerInfo[playerid][pEmprego] == 2)
{
SetPlayerPos(playerid,925.7493,-1211.3282,16.9764);
SetPlayerFacingAngle(playerid, 91.0763);
ApplyAnimation(playerid, "CRIB","CRIB_Use_Switch",4.1,0,0,0,0,0);
OnPlayerCommandText(playerid,"/ppr");
}
}

Reply
#4

Procure na sua Pasta de Filterscripts , tenho certeza que irб encontrar algo relacionado a Enforcer .
Reply
#5

Verdade vlw cara!

Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)