SA-MP Forums Archive
I have serious problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I have serious problem (/showthread.php?tid=401077)



I have serious problem - appleomax - 21.12.2012

I created little payday system for my RP server, it works on localhost fine, but when I upload it to host, nothing happens, and players don't get 1000 in one minute.

forward payday(playerid);

public payday(playerid)
{
GivePlayerMoney(playerid,1000);
}

public OnGameModeInit()
{
SetTimer("payday",60*1000,1);
}


Re: I have serious problem - Lapon - 21.12.2012

See , if you have uploaded all the plugins correctly or not or if you have put in plugins and compiled them with that include version.


Re: I have serious problem - Yiin - 21.12.2012

pawn Код:
forward payday();

public payday()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
        if(IsPlayerConnected(i))
            GivePlayerMoney(i,1000);
}

public OnGameModeInit()
{
    SetTimer("payday",60*1000,1);
}



Re: I have serious problem - appleomax - 21.12.2012

Quote:
Originally Posted by Lapon
Посмотреть сообщение
See , if you have uploaded all the plugins correctly or not or if you have put in plugins and compiled them with that include version.
It's solved
Thanks for help, I was uploaded plugins incorrectly


Re: I have serious problem - appleomax - 21.12.2012

And one more question, if I want to update my server correctly, I have to upload to host all plugins with .pwn and .amx?
Sorry for double post


Re: I have serious problem - Yiin - 21.12.2012

Quote:
Originally Posted by appleomax
Посмотреть сообщение
And one more question, if I want to update my server correctly, I have to upload to host all plugins with .pwn and .amx?
Sorry for double post
just .amx
by the way, plugins extensions are .dll (windows) and .so (linux). .pwn and .amx are for scripts, like gamemode or filescript.