![]() |
Player Online
It works up and past the playeronline, and when it pms me the account it says the right one but it show that the player is online .
PHP Code:
Please and thank u! |
You're saying that
PHP Code:
|
Are you saying I have to define it as something else?
|
He means cona[0] might be a string, not an object, which is likely since it's in an array. Try doing something like:
PHP Code:
|
Still didn't work :o
|
If I were you I would just do
PHP Code:
|
Once again no ;/?
|
Are you adding an echo() around the triggerclient and stuff to be sure? It's possible that the problem is elsewhere (IE: The client doesn't have your weapon).
|
playerobject.online will not work serverside according to the documentation for it.
|
Oh, so How can I check for it?
|
PHP Code:
You can evetually try and repace findplayer() with findplayerbycommunityname() |
And any of those will tell me if there online
Because, the if (findplayer(cona[0]) != NULL) doesn't work. |
Last or first one should do the job.
|
| All times are GMT +2. The time now is 01:47 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.