I have serious problem
#1

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);
}
Reply
#2

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.
Reply
#3

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);
}
Reply
#4

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
Reply
#5

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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)