31.03.2011, 09:26
Hi.
I want to open/close a gate with ONE command, how it's possible?
This is cmd what open gate.
This is cmd what close the gate.
Can anybody help me?
I want to open/close a gate with ONE command, how it's possible?
This is cmd what open gate.
Код:
if (strcmp("/vдrav", cmdtext, true, 10) == 0) { GetPlayerName(playerid,pName,64); if(!strcmp(pName,"Steven_Hayen2",true)) { MoveObject(gate, 321.35000000,-1188.19000000,70.52000000,1.00000000) } return 1; }
Код:
if (strcmp("/vдravc", cmdtext, true, 10) == 0) { GetPlayerName(playerid,pName,64); if(!strcmp(pName,"Steven_Hayen2",true)) { MoveObject(gate, 321.35000000,-1188.19000000,75.35000000,2.00000000) } return 1; }