Quote:
Originally Posted by Viniborn
pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys) { if(newkeys == KEY_HANDBRAKE) { if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1) { if(IsPlayerInRangeOfPoint(playerid,10,1544.8994140625,-1623.69921875,15.199999809265) && IsPlayerInAnyVehicle(playerid)) { MoveDynamicObject(Gate[0],1545.1999511719,-1633.1999511719,15.199999809265,2.0); SetTimer("Aberto", 7000, false); } } } return 1; }
|
Nгo funcionou, e o comando de deletar/spawn diz que estou sem permissхes, mesmo com a variбvel correta.