ns_add_res

Syntax

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

Usage

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

Description

Adds an amount of resources to the player.

Note

This is only for alien players.

Return

The new amount of resources the player has.