26.02.2013, 16:50
Hello,I need some help with the coordinates for the object ID 968 this is the barrier for the gate at LSPD,I want to know which numbers i have to use,I mean after converting it with this site http://convertffs.com/ I have to put in all the CreateObject numbers? I mean all these?
This is just a example I didn't used them:
I want to know how many number i have to put in after each ",".Or show me a example on this movable gate script:
Also it would be really helpful if someone can show me a example on this script how do I SendClientMessage with a red color or any other color.
Thanks!
This is just a example I didn't used them:
Код:
CreateObject(968,2462.5000000,-1662.1999512,13.0000000,252.0000000,0.0000000,90.0000000);
Код:
#include <a_samp> new TestGate1; public OnGameModeInit() { CreateObject(966,2462.5000000,-1662.1999512,12.3000002,0.0000000,0.0000000,270.0000000); TestGate1 = CreateObject(968,2462.5000000,-1662.1999512,13.0000000,0.0000000,270.0000000,270.0000000); //Gate Object Closed return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/open", true) == 0) { MoveObject(TestGate1, 2462.5000000,-1662.1999512,13.0000000,252.0000000,0.0000000,90.0000000, 1); return 1; } if(strcmp(cmdtext, "/close", true) == 0) { MoveObject(TestGate1, 2462.5000000,-1662.1999512,13.0000000,352.0000000,270.0000000,90.0000000, 1); return 1; } return 0; }
Thanks!