AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   client_connect problems {solved} (https://forums.alliedmods.net/showthread.php?t=27788)

hip_hop_x 04-29-2006 11:04

client_connect problems {solved}
 
Code:
public cmd_user_onoff(id) {     if (client_connect==1)         {     set_hudmessage(200, 100, 40, -1.0, 0.15, 0, 1.0, 5.0, 0.1, 0.2, 2)          show_hudmessage(0,"User connected")     }

I want to make something like if someone connect to sv, all the lpayers to see an message.


Plz debug it.

allenwr 04-29-2006 12:09

um, search for join/leave on the plugins search page... that has the finished code that works... you can look at the sma and get the working code their and fix your own little plugin that you got.

Have a nice day

FatalisDK 04-29-2006 12:22

Code:
public client_connect(id) {     set_hudmessage(200, 100, 40, -1.0, 0.15, 0, 1.0, 5.0, 0.1, 0.2, -1)     show_hudmessage(0, "User connected") }

hip_hop_x 04-29-2006 16:24

Thx FatalisDK!!! Another problem solved


All times are GMT -4. The time now is 05:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.