QoRaY Posted April 24, 2013 Share Posted April 24, 2013 SA-MP Code; on top of script: Code: new Gateclan; new Gatelift; under ongamemodeinit Code: //gate's Gateclan = CreateObject(969, -715.559143, 2867.067871, 76.068398, 91.10023213, 0.000000, -270.000001124); //gate gesloten Gatelift = CreateObject(3095, -681.501038, 2914.203613, 58.668404, 0.000000, 0.000000, 0.000000); //lift boven under onplayercommandtext: Code: if (strcmp(cmdtext, "/liftdown", true) == 0) { MoveObject(Gatelift,-681.354858, 2913.921387, 58.961586, 4.5000); return 1; } if (strcmp("/closegate", cmdtext, true, 10) == 0) { MoveObject(Gateclan, -715.559143, 2867.067871, 76.068398, 4.5000); return 1; } if (strcmp("/opengate", cmdtext, true, 10) == 0) { MoveObject(Gateclan, -715.540222, 2875.903809, 76.093399, 4.5000); return 1; } if (strcmp(cmdtext, "/liftup", true) == 0) { MoveObject(Gatelift,-681.354858, 2913.921387, 65.961586, 4.5000); return 1; } MTA-SA Convert Help !! Link to comment
iPrestege Posted April 24, 2013 Share Posted April 24, 2013 Why don't make another one samp is different than MTA Link to comment
QoRaY Posted April 24, 2013 Author Share Posted April 24, 2013 Things are not different. Link to comment
iPrestege Posted April 24, 2013 Share Posted April 24, 2013 Things are not different. No it's different but you can make you're own on mta ; createObject moveObject Link to comment
QoRaY Posted April 24, 2013 Author Share Posted April 24, 2013 Things are not different. No it's different but you can make you're own on mta ; createObject moveObject Thanks for your help. Problem Solved! I did! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now