help me gates
#1

I wanted to ask why I'm not moving gates stand like that?
http://xes.lt/di-VEO1.png
Reply
#2

help me please.;\
Reply
#3

What code do you exactly have to move these gates? Post them here.
Reply
#4

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;
}
}
Reply
#5

help me please ;[
Reply
#6

ip if u can?
Reply
#7

help me ;[
Reply
#8

have you create these objects or not?
Reply
#9

can you explain what do you want cause i m not able to understand your problems please explain ... to get solution.
Reply
#10

Did u defined the gate (object) as

pdvartukai

like
[code]
pdvartukai = CreateObject(etc....);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)