Graal Forums

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

projectigi 09-30-2006 12:02 AM

noplayeronwall();
 
hrm, is this only serverside?
or how do i use it right, i tried it clientside, used at the start of the onTimeout thing =/ onwall2() still recognizes players as walls

Yen 09-30-2006 12:32 AM

Only serverside. :(

ZeroTrack 09-30-2006 04:31 AM

Quote:

Originally Posted by projectigi (Post 1223930)
hrm, is this only serverside?
or how do i use it right, i tried it clientside, used at the start of the onTimeout thing =/ onwall2() still recognizes players as walls

Nice place for save to come in handy again

PHP Code:

function onPlayerEnters(){
  if(
noplayeronwall()) save[0] = 1//True
    
else save[0] = 2//False
}

//#CLIENTSIDE
//Run through your checks again and setTimer
function onTimeout(){
  if(
save[0] == 1//do true statement here
    
else // do false statement here




All times are GMT +2. The time now is 04:21 AM.

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