Posts: 223
Threads: 45
Joined: Feb 2016
Reputation:
0
i have a doubt
how can i convert the texture maps like :
gm = createobject(.....)
to
gm= createdynamicobject(....)
and the setobjectmaterial to setdynamicobjectmaterial ??
++rep for helping
Posts: 435
Threads: 2
Joined: Jul 2017
Reputation:
0
Simply by using the replace all feature in your IDE while having all (and only) lines where the action of replacing will take effect. Otherwise, with a regular expression executed either within your IDE or in runtime (most likely with a custom script).
Posts: 205
Threads: 31
Joined: Aug 2015
Reputation:
0
Download Notepad++, copy your gamemode over into Notepad++, CTRL+F, click "Replace".
Set "Find what" to "CreateObject(" without the ""
and set "Replace With" to "CreateDynamicObject(" without the ""
then click Replace All
then do the same thing for SetObjectMaterial to SetDynamicObjectMaterial.
Copy the gamemode back over to PAWNO and compile.
Posts: 578
Threads: 40
Joined: Dec 2016
Quote:
Originally Posted by oSAINTo
Download Notepad++, copy your gamemode over into Notepad++, CTRL+F, click "Replace".
Set "Find what" to "CreateObject(" without the ""
and set "Replace With" to "CreateDynamicObject(" without the ""
then click Replace All
then do the same thing for SetObjectMaterial to SetDynamicObjectMaterial.
Copy the gamemode back over to PAWNO and compile.
|
Or simplier: CTRL + H in Pawno.