Crash

Started by Florin Calinescu, Jan 07, 2016, 12:48 PM

Previous topic - Next topic

Florin Calinescu

The title says it all.The server crashes when using a command.
www.youtube.com/watch?v=N8nf5HL_bK4&feature=youtu.be

MacTavish

This problem have been explained many times that a timer couldnt pass player instance

Use player.ID instead player in timer
NewTimer("YourFun",2000,1,player.ID);
And in function
function YourFun(id)
{
local player = FindPlayer(id);
if(player) MessagePlayer("hasta la vesta, it worked",player);
else return;
}

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Florin Calinescu

Alright it works now thank you