Actor Bug
#1

Hello SA-MP. Today I had one idea about creating actors and save thier position in MySQL. MySQL loaded everything okay, I check few time mySQL debug. But when I try to create actor via simple command it`s not working. Why I don`t know. I made one thread in Scritpting Help but no body knows how to fix it. I read few time topic in SA-MP wiki but still not working. Here is the code, people here was testing code, also for them actor wasn`t spawned.

PHP код:
CMD:actor(playeridparams[])
{
    
actor1 CreateActor(4769.6655,323.3286,19.8828,356.4192);
    
SetPlayerPos(playerid769.6655,323.3286,19.8828);
    
SendDebug(playerid"Actor created!");
    return 
1;
}
CMD:destroy(playeridparams[])
{
    
DestroyActor(actor1);
    
SendDebug(playerid"Actor destroyed!");
    return 
1;

Reply


Messages In This Thread
Actor Bug - by Sanady - 11.01.2016, 13:38
Re: Actor Bug - by itsCody - 11.01.2016, 15:39
Re: Actor Bug - by valych - 11.01.2016, 16:08
Re: Actor Bug - by Sanady - 11.01.2016, 16:40
Re: Actor Bug - by Crayder - 13.01.2016, 18:21
Re: Actor Bug - by AlexBlack - 15.01.2016, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)