Fix this code plz
Can someone fix this code?
PHP Code:
|
Re: Fix this code plz
What is the problem you are having? Providing this makes it easier\faster for others to find your mistake. One major mistake I see is you are calling functions on the player in client_disconnect(); this should be never done because the player may already be gone at this point. You should cache the values from when they are called at client_putinserver() so they can safely be used at client_disconnect().
Try this (untested) PHP Code:
|
Re: Fix this code plz
Thanks will test it now !
EDIT: when i compile i get this: C:\Användare\Administratör\Skrivbord\Pawn Studio\temp206.inc(0) : fatal error 100: cannot read from file: "C:\Användare\Administratör\Skrivbord\Paw n Studio\temp206.inc" |
Re: Fix this code plz
Quote:
See http://forums.alliedmods.net/showthread.php?t=94960 |
| All times are GMT -4. The time now is 13:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.