View Single Post
Author Message
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 08-11-2019 , 07:38   [INC] Reapi_Stocks
Reply With Quote #1

I thought that reapi need have stocks like "engine_stocks.inc" & "fakemeta_stocks.inc"
I will try to add new commands that don't exists in reapi includes.
Hope you like it.

Commands;

PHP Code:
rg_get_user_button(index);
rg_get_user_oldbutton(index);
rg_get_user_flags(index);
rg_set_user_rendering(indexfx kRenderFxNone, {Float,_}:color[3] = {0.0,0.0,0.0}, render kRenderNormalFloat:amount 0.0);
rg_set_user_visibility(indexvisibility);
bool:rg_get_user_visibility(index);
rg_set_user_velocity(index, const Float:vec[3]);
rg_get_user_velocity(indexFloat:vec[3]);
rg_get_speed(index);
rg_user_kill(victimattackerbool:givefragtoattacker true); 
Attached Files
File Type: inc reapi_stocks.inc (2.2 KB, 226 views)
__________________
A plugin that is needed for every server.
PHP Code:
public client_connect(id)
{
    if(
get_user_iq(id) < 80)
    {
        
server_cmd("kick #%d 'You have kicked from the server because your IQ is not high enough'"get_user_userid(id));
    }


Last edited by PurposeLessx; 08-11-2019 at 07:39.
PurposeLessx is offline