native

ns_add_res

Syntax

native Float:ns_add_res(id, Float:amount);

Description

Adds an amount of resources to the player.

Parameters

id The id of the player to add resources to.
amount The amount to add to the player.

Note

This is only for alien players.

Return

The new amount of resources the player has.