[Ajuda] teleporte
#8

Quote:

CMD:entrar(playerid)//PRF entrada
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, X, Y, Z))
{
SetPlayerPos(playerid, X, Y, Z);
SetPlayerInterior(playerid, 0);// 0 й fora de qualquer interior
return 1;
}
return 1;
}

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if((newkeys == KEY_SECONDARY_ATTACK))
{
cmd_entrar(playerid);
}
return 1;
}

Pronto. Vocк tem a include ZCMD nй?
Reply


Messages In This Thread
teleporte - by BLacksKrillex - 24.06.2016, 21:59
Respuesta: teleporte - by OverKiller - 24.06.2016, 22:23
Re: teleporte - by BLacksKrillex - 24.06.2016, 22:30
Respuesta: teleporte - by OverKiller - 24.06.2016, 22:36
Re: teleporte - by BLacksKrillex - 24.06.2016, 22:37
Respuesta: teleporte - by OverKiller - 24.06.2016, 22:39
Re: teleporte - by BLacksKrillex - 24.06.2016, 22:40
Respuesta: teleporte - by OverKiller - 24.06.2016, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)