AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   need help.... hard to explain (https://forums.alliedmods.net/showthread.php?t=16816)

Diablo-89 08-20-2005 20:18

need help.... hard to explain
 
ok i made a plugin but now i want it to only work for one person... how do i do that???
something like
get user_id
if user_id != [U||A] Diablo
return FMRES_IGNORED

please help thanx VERY much ^^

DahVid 08-20-2005 20:38

new steamid[33]
get_user_authid(id,steamid,33)

if(equali(steamid,"MY_STEAM_ID")) {
Function
}

???

XxAvalanchexX 08-20-2005 20:55

Memory error. Change the first 33 to a 34 or the second 33 to a 32, kthxbai

DuMont 08-20-2005 23:17

^What he said^ :D

DahVid 08-20-2005 23:26

Oops, yeh I forgot to subtract 1 for the Len, it's what happens when you drink to much vadka!

Diablo-89 08-21-2005 05:34

:lol: thanx for all of your help ^^


All times are GMT -4. The time now is 14:35.

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