help me gates -
Deividasltu - 09.07.2013
I wanted to ask why I'm not moving gates stand like that?
http://xes.lt/di-VEO1.png
Re: help me gates -
Deividasltu - 09.07.2013
help me please.;\
Re: help me gates -
Calabresi - 09.07.2013
What code do you exactly have to move these gates? Post them here.
Re: help me gates -
Deividasltu - 10.07.2013
Quote:
Originally Posted by Calabresi
What code do you exactly have to move these gates? Post them here.
|
if ( accountsDB[ playerid ][ Job ] == 1 || accountsDB[ playerid ][ Job ] == 13 || accountsDB[ playerid ][ Job ] == 42 || accountsDB[ playerid ][ Admin ] > 1)
if(IsPlayerInAnyVehicle(playerid) && newkeys & KEY_HANDBRAKE || !IsPlayerInAnyVehicle(playerid) && newkeys & KEY_SPRINT) // Space klaviљas
{
if (IsPlayerInRangeOfPoint(playerid, 10.0, 639.7000122,-598.5999756,12.3999996))
{
{
if(GetPVarInt(playerid, "Vartai") == 0) //Jei vartai uћdaryti
{
MoveObject(pdvartukai, 639.7000122,-598.5999756,12.3999996, 2); // Atidaryti vartu kordinate.s
SetPVarInt(playerid, "pdvartukai", 1); //Padarom vartus atidarytus
GameTextForPlayer(playerid, "~G~ Atidarote vartus!", 2000, 5);
}
else if(GetPVarInt(playerid, "Vartai") == 1) //Jei vartai atidaryti
{
MoveObject(pdvartukai, 639.6992188,-598.5996094,18.1000004, 2); //Uћdaryti
SetPVarInt(playerid, "pdvartukai", 0); //Padarom vartus uћdarytus
GameTextForPlayer(playerid, "~R~ Uћdarote vartus!", 2000, 5);
}
}
return 1;
}
}
Re: help me gates -
Deividasltu - 10.07.2013
help me please ;[
Re: help me gates -
maskof - 10.07.2013
ip if u can?
Re: help me gates -
Deividasltu - 11.07.2013
help me ;[
Re: help me gates -
PrinceKumar - 11.07.2013
have you create these objects or not?
Re: help me gates -
PrinceKumar - 11.07.2013
can you explain what do you want cause i m not able to understand your problems please explain ... to get solution.
Re: help me gates -
WorldWideGaming - 11.07.2013
Did u defined the gate (object) as
pdvartukai
like
[code]
pdvartukai = CreateObject(etc....);