Jump to content
  • 0

pomoc Otviraci brana


Guest PrintScroll

Dotaz

Guest PrintScroll

Caw vubec nevim co stim mam pomoz te mi stim prosim normalne tam dam :

 

new brana;

 

 

potom dam :

 

brana = CreateDynamicObject(976,1241.298,-767.171,91.235,0.0,0.0,0.0);

 

 

potom :

 

if(strcmp(cmdtext, "/open", true) == 0 )

{

MoveObject(brana,1241.242,-767.221,87.671,2);

SendClientMessage(playerid, COLOR_LIGHTBLUE,"**brana je otevrena **.");

return 1;

}

 

if(strcmp(cmdtext, "/close", true) == 0 )

{

MoveObject(brana,1241.298,-767.171,91.235,2);

SendClientMessage(playerid, COLOR_LIGHTBLUE,"**brana je zavrena **.");

 

return 1;

}

 

 

 

 

Angry A vubec nwm proc se mi to neotevre jen mi to napise brana jeotevrena ale brana furt stoji Angry

Prosim porad

Link to comment
Share on other sites

9 odpovědí na tuto otázku

Recommended Posts

  • 0

if(strcmp(cmdtext, "/open", true) == 0 )

{

MoveDynamicObject(brana,1241.242,-767.221,87.671,2);

SendClientMessage(playerid, COLOR_LIGHTBLUE,"**brana je otevrena **.");

return 1;

}

 

if(strcmp(cmdtext, "/close", true) == 0 )

{

MoveDynamicObject(brana,1241.298,-767.171,91.235,2);

SendClientMessage(playerid, COLOR_LIGHTBLUE,"**brana je zavrena **.");

return 1;

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...