Raised This Month: $ Target: $400
 0% 

Blockmaker SteamID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
P1raten
Senior Member
Join Date: Feb 2010
Old 02-06-2013 , 11:50   Re: Blockmaker SteamID
Reply With Quote #4

Quote:
Originally Posted by WeeZick View Post
The thing i wanna do is to set a steamid on my blockmaker so only that steamid can use the blockmaker, and i found this to try:
{
new SteamID[32];
get_user_authid(id, SteamID, 31);

if(equal(SteamID, STEAMID_A) || equal(SteamID, STEAMID_LAN) || g_gived_access[id])
{
if(PCM_banned[id])
{
PCM_Print(id, "You'r SteamID didnt get a match!");
PCM_Print(id, "You'r SteamID is banned from PCM.");
set_task(2.0, "Task_ShowInfo", id);
}
else
{
ShowMainMenu(id);
}
}
else
{
PCM_Print(id, "You'r SteamID didnt get a match!");
PCM_Print(id, "You'r SteamID is either banned from PCM or you arent eligble to use PCM.");
set_task(2.0, "Task_ShowInfo", id);
}
return PLUGIN_HANDLED;
}
And i have maked an enum with those steamid i want to have access to /bm. But i get errors can anybody help me please
Uh, why not just use flags?
__________________
No salvation. Only madness.
P1raten is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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