Player Transfer
Hello, I need a help with my script.
Problem: 1) it writes chat message twice to every player. 2) Sometimes it transfer one player instead of two players and sometimes both (both is what I need) (I want them to swap each other, but you will see that in code) Code: PHP Code:
|
Re: Player Transfer
* name/name2 variable size should be MAX_NAME_LENGTH (=32)
* You getting message two times cause your x variable loop starts with 0, and CromChat has support to display message to everyone when player index is zero. Start looping from 1 * set_user_health to zero means player's health will change to zero and hud will be updated, player will move incorrectly but player will be alive, if you want to kill him use dllfunc & DLLFunc_ClientKill * Code:
2) Sometimes it transfer one player instead of two players and sometimes both (both is what I need) |
Re: Player Transfer
Nothing worked, still writes twice and transfers only one player.. any other solution?
|
Re: Player Transfer
Quote:
|
Re: Player Transfer
Quote:
|
Re: Player Transfer
Quote:
* You should use formatex instead of format if you not use same thing you are formatting. |
Re: Player Transfer
Quote:
|
| All times are GMT -4. The time now is 12:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.