SA-MP Forums Archive
Object error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object error (/showthread.php?tid=577994)



Object error - Kruno88 - 15.06.2015

Код:
        new tent;
        tent = CreateObject(3243, 1488.729248, 1765.293090, 13.570698, 0.0, 0.0, 0.0, 300.0);
        SetObjectMaterial(tent, 1, 3095, "cj_ammo_net", "CJ_cammonet", 0);*/
Код:
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\gamemodes\RPing.pwn(749) : error 017: undefined symbol "SetObjectMaterial"
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\gamemodes\RPing.pwn(751) : warning 217: loose indentation
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\gamemodes\RPing.pwn(748) : warning 204: symbol is assigned a value that is never used: "tent"
I beg of oyu,just help me


Re: Object error - mamorunl - 15.06.2015

You just pasted the same code twice and didn't say what the error specifically was. Please explain


Re: Object error - Kruno88 - 15.06.2015

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
You just pasted the same code twice and didn't say what the error specifically was. Please explain
Sorry.


AW: Object error - Mencent - 15.06.2015

Hello!

Can you try this version?

PHP код:
new tent;
        
tent CreateObject(32431488.7292481765.29309013.5706980.00.00.0300.0);
        
SetObjectMaterial(tent13095"cj_ammo_net""CJ_cammonet"0); 
- Mencent