Map Editing!
#1

Dear Reader, I have recently made a server with a stunt gamemode. I am trying to add my own ramps on the map but not sure how to do this. It would be greatful if someone could show me a example code and where to put it.

Thanks

JokerNathan
Reply
#2

CreateObject.
Reply
#3

Umm Bit more in depth like a example and under what section?
Reply
#4

Anyone?
Reply
#5

you need to convert them to CreateObject or any streamer that you use convertffs.com
Reply
#6

pawn Код:
public OnGameModeInit(...)
{
     CreateObject(objectid, x, y, z, Rx, Ry, Rz, streamdistance);
     return 1;
}
Reply
#7

you need editor first (MTA or SAMP map editor(SAMP editor is better)) then build what you want , its too easy ,, then click "show code" and copy all codes , then go to www.convertffs.com paste you objects there and select input "SAMP create object" ,,,, when you convert then copy that converted codes and paste it in gamode.pwn,, in
Quote:

public OnGameModeInit ()
{
return 1;
}

example:
Quote:

public OnGameModeInit()
{
CreateObject(3361,-640.30000000,489.29000000,4.25000000,0.00000000,0. 00000000,90.00000000); //
CreateObject(3361,-642.74000000,481.68000000,4.25000000,0.00000000,0. 00000000,270.00000000); //
CreateObject(10865,-691.29000000,485.65000000,5.23000000,0.00000000,0. 00000000,0.00000000); //
CreateObject(10865,-691.38000000,450.90000000,5.23000000,0.00000000,0. 00000000,180.00000000); //

return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)