Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   callweapon bug (https://forums.graalonline.com/forums/showthread.php?t=31129)

mikepg 06-08-2002 04:04 AM

callweapon bug
 
It just doesnt work...clientside or serverside...it doesnt work online. It works fine offline, but not online.

I hope this is fixed, that way I can call a player's weapon and have it updated, without having to run timeout constantly!

Admins 06-08-2002 07:00 AM

What do you mean? It is used on many servers

mikepg 06-08-2002 10:05 PM

ok
 
lets say you want a player's weapon to be fired, any weapon, it doesnt matter.


you want the server to update it, because something important has happend...

so you do this:

// Serverside Section
with (getplayer(mikepg)) {callweapon 3,weaponfired}

//#CLIENTSIDE
if (weaponfired) {say2 The Weapon Was Called!;}


Let's assume that the weapon with the index of 3 has that client side part....

It doesnt seem to work for me :(.

Tyhm 06-10-2002 12:49 AM

Silly, you can't predict a weapon index.

for(this.i=0;this.i<weaponscount;this.i++){
if(strequals(#w(this.i),weapontest))) callweapon this.i,weaponfired;
}


All times are GMT +2. The time now is 11:00 AM.

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