20.11.2011, 18:42
Version : 0.3c
Problem : I am trying to open the orange-white gate and its wont open to me
like i am want. I mean, I want the gate to open like that :
|
|
But its wont do it like that, its just takes it up few milimiters up and thats it.
[the gate is like that : ___ ]
OnGameModeInit :
the command itself :
Pictures :
Before : http://www.fastup.co.il/images/16127556.bmp
After : http://www.fastup.co.il/thumbs/62406401.bmp
What can I do for fix it..
Please help.
Thanks,
NickSoon.
[sorry for lame english.]
Problem : I am trying to open the orange-white gate and its wont open to me
like i am want. I mean, I want the gate to open like that :
|
|
But its wont do it like that, its just takes it up few milimiters up and thats it.
[the gate is like that : ___ ]
OnGameModeInit :
Quote:
//CreateObject(968, -1701.5, 687.59997558594, 24.89999961853, 0, 0, 96); pdgate2 = CreateObject(968, -1701.4000244141, 687.70001220703, 24.700000762939, 0, 90, 270.00051879883); |
Quote:
if(strcmp(cmd, "/pdgateo2", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if (PlayerToPoint(8, playerid,-1701.5, 687.59997558594, 24.89999961853) || PlayerToPoint(3,playerid,-1701.5, 687.59997558594, 24.89999961853) || PlayerInfo[playerid][pLocal] != 255) { format(string, sizeof(string), "* Officer %s click on the remote control and open the gate", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); MoveObject(pdgate2, -1701.5, 687.59997558594, 24.89999961853, 5); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not a Cop !"); } } return 1; } |
Before : http://www.fastup.co.il/images/16127556.bmp
After : http://www.fastup.co.il/thumbs/62406401.bmp
What can I do for fix it..
Please help.
Thanks,
NickSoon.
[sorry for lame english.]