Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   player() (https://forums.graalonline.com/forums/showthread.php?t=86172)

cbk1994 06-03-2009 11:11 PM

player()
 
Do you ever find you type 'player' when you mean to type 'play'?

I do it all the time, even when not scripting :(

Skyld 06-03-2009 11:15 PM

PHP Code:

function player(temp.i)
{
  
play(temp.i);



cbk1994 06-03-2009 11:18 PM

Quote:

Originally Posted by Skyld (Post 1496799)
PHP Code:

function player(temp.i)
{
  
play(temp.i);



That's a good idea, I'm going to make a class called 'chris' and join it to all my scripts :)

Inverness 06-04-2009 10:03 AM

And the function named player won't conflict with the constant player object?

Pelikano 06-04-2009 11:43 AM

Concentrate a little more?
wtf


All times are GMT +2. The time now is 03:50 PM.

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