Need Some Help
#1

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:
Код:
CreateObject(968,2462.5000000,-1662.1999512,13.0000000,252.0000000,0.0000000,90.0000000);
I want to know how many number i have to put in after each ",".Or show me a example on this movable gate script:

Код:
#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;
}
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!
Reply


Messages In This Thread
Need Some Help - by Jhony_Blaze - 26.02.2013, 16:50
Re: Need Some Help - by Mystique - 26.02.2013, 19:33
Re: Need Some Help - by Jhony_Blaze - 27.02.2013, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)