Blockmaker SteamID
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 |
Re: Blockmaker SteamID
Post the full code.
|
Re: Blockmaker SteamID
The whole blockmaker?
|
Re: Blockmaker SteamID
Quote:
|
Re: Blockmaker SteamID
What you mean with flags?
|
Re: Blockmaker SteamID
Look i really need help with this so i whould be verry happy if someone helped me out
|
Re: Blockmaker SteamID
Quote:
However, if this is something that you don't know how to do on your own then you're in the wrong section. |
Re: Blockmaker SteamID
Quote:
|
Re: Re: Blockmaker SteamID
Quote:
But just because he thinks that storing a steamID is the best way to do it does not mean that it is. And like i mentioned above, flags seems more appropriate. |
Re: Blockmaker SteamID
Well whats the right section then?
And if you dont understand i want to store the (STEAMID) not some flags. |
| All times are GMT -4. The time now is 11:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.