At line 725 you forgot "local i = ......." so it outputs an error. I fixed it myself but I'm posting to inform
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: KAKAN on Jul 13, 2016, 08:59 AMNAKAK = "F**ked you" in Arabic.Quote from: Hercules on Jul 13, 2016, 08:45 AM"USER DOES NOT EXIST" That means the user you're trying to contact to is dead.Quote from: Xmair on Jul 12, 2016, 01:42 PMWhat do you think that means?if i know whats its means so i will solve it my self but about think this type of errors cause due to if a function not defined or if player not available.
For ex: My name was KAKAN, I change it to NAKAK. So, now, if you do: /MSG KAKAN HEY BICH it won't work.
Quote from: [Serious]Sam on Jul 07, 2016, 01:06 PMNice, but you can't select objects without collision so I added this cmds)))OMG dude I came here to suggest that and you did it! Thank you very much. Waiting for this to be in the official script .else if( cmd == "allobjects" || cmd == "objects" || cmd == "getobjects" )
For map with small count of objects)))
{
for( local i = 0; i < objCreated; i++ )
{
local obj = FindObject(i);
if( obj ) MessagePlayer( "[#00CC00][OBJECT]: [#ffffff]Object model: " + obj.Model + " Object ID: "+ obj.ID , player );
}
}
else if( cmd == "selectobject" )
{
if(text)
{
local obj = FindObject( text.tointeger() );
local plr = FindPlayer( player.ID );
Object[ plr.ID ] = obj;
pData[ player.ID ].Editing = true;
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]Selected object " + text.tointeger() , player );
return 1;
}
else
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]/selectobject [ID] ", player );
}
Quote from: KAKAN on Aug 22, 2015, 12:49 AMCan't someone fix it who knows scripting?Well, newbies won't be able to do that.
Quote from: Sentral on Jul 28, 2015, 01:59 AMWhy not use GetSkinName?As you see in his topic, he is using custom names for some of the skins (eg. Drug Dealer). He also said that he's new.