Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Someone Help Me With A Command Please (https://forums.graalonline.com/forums/showthread.php?t=49584)

ssnniitt5 12-10-2003 05:06 AM

Someone Help Me With A Command Please
 
hey, i need some help with putnpc2.. isnt it {putnpc2 x,y,img,sript}



:confused:

DustyPorViva 12-10-2003 05:09 AM

NPC Code:

putnpc2 x,y,{
// code
// If you want an image:
setimg imgname.filetype;
};



Oh, and it must be serverside.

Loriel 12-11-2003 04:12 PM

Quote:

Originally posted by DustyPorViva
NPC Code:

putnpc2 x,y,{
// code
// If you want an image:
if (created) setimg imgname.filetype;
};

Please.

osrs 12-11-2003 05:37 PM

Someone already made a post about putnpc2 some days ago, try to search before make a new post, anyway, you can also use join inside the putnpc2 brackets. I consider good to use join when the script is too big, so it will make your code shorter and readable.

NPC Code:

putnpc2 x,y,{
join <class name>;
};



All times are GMT +2. The time now is 02:19 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.