Posts: 54
Threads: 13
Joined: Dec 2012
Reputation:
0
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);
}
Posts: 35
Threads: 3
Joined: Dec 2012
Reputation:
0
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.
Posts: 145
Threads: 14
Joined: Aug 2012
21.12.2012, 17:14
(
Последний раз редактировалось Yiin; 21.12.2012 в 17:53.
)
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);
}
Posts: 54
Threads: 13
Joined: Dec 2012
Reputation:
0
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
Posts: 145
Threads: 14
Joined: Aug 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.