gettinge error help

Started by =RK=MarineForce, Mar 24, 2020, 01:25 PM

Previous topic - Next topic

=RK=MarineForce

hello i need help

function testo(player)
{
local player=FindPlayer(player);
if(player)
player.IsFrozen = false;
Message("[#FF0000]>> BOMB HAS BEEN PLANTED!");
    myPickup <- CreatePickup( 291, Vector( -1195.89, 108.588, 11.1278 ) );
}

dont know what da fuck problem with this things

function testo(player)
{
local player=FindPlayer(player);
if(player)
}

when i make functions like these its shows me FindPlayer Must be integer or string.

KX

local player=FindPlayer(player);to
local player=FindPlayer(player.Name);

DizzasTeR

Quote from: =RK=MarineForce on Mar 24, 2020, 01:25 PMwhen i make functions like these its shows me FindPlayer Must be integer or string.

Yeah so what part of this are you not getting?

=RK=MarineForce

Fixed. LOL First time this error xD. idk why