Robbery bug help
#1

As i enter the server, for example as an civilian, i can rob anywhere. aswell it spam picture is bellow.


Rep + to the one helps
Reply
#2

Show the code,

also make sure you're not running on a timer with true statement or using OnPlayerUpdate.
Reply
#3

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Show the code,

also make sure you're not running on a timer with true statement or using OnPlayerUpdate.
It has a timer as this one
Код:
SetTimer("OnPlayerUpdateEx", 500, true);
Код:
function RobberyComplete(playerid)
{
    new string[128];
	if(RobberyData[playerid][RobberyTime] >= 1)
	{
	    format(string, sizeof(string), "robbery time: %i", RobberyData[playerid][RobberyTime]);
	    GameTextForPlayer(playerid, string, 4000, 3);
	    RobberyData[playerid][RobberyTime] --;
Код:
RobberyData[playerid][RobberyTime] = robberyTime;
		RobberyData[playerid][RobberyTimer] = SetTimerEx("RobberyComplete", 1000, true, "i", playerid);
Hope you mean those. Due im newbie
Reply
#4

pawn Код:
RobberyData[playerid][RobberyTimer] = SetTimerEx("RobberyComplete", 1000, true, "i", playerid);
To

pawn Код:
RobberyData[playerid][RobberyTimer] = SetTimerEx("RobberyComplete", 1000, false, "i", playerid);
Reply
#5

Thanks!
As i put it up to VH, Updated the server it shows unknown gamemode.
Reply
#6

Quote:
Originally Posted by StinkMoney
Посмотреть сообщение
Thanks!
As i put it up to VH, Updated the server it shows unknown gamemode.
Make sure your running all plugins running used by the script or Make sure your running all plugins running used by the script or, check if your plugins are updated.
Reply
#7

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Make sure your running all plugins running used by the script or Make sure your running all plugins running used by the script or, check if your plugins are updated.
Those all are running got any other solution?
Are updated.
Reply
#8

Show server.log
Reply
#9

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Show server.log
Код:
[01:59:03] Number of vehicle models: 0
[01:59:03] Script[gamemodes/newcnr.amx]: Run time error 19: "File or function is not found"

[01:59:03]   Loaded 1 filterscripts.
[01:59:03]  ..::: Plugin Free Radio System v1.5 by Xtreme_playa :::..
[01:59:03]   Loading filterscript 'radio.amx'...
[01:59:03] ---------------
[01:59:03] Filterscripts
[01:59:03] 
[01:59:03] 
[01:59:03]  Loaded: samp.ban
[01:59:03] --------
[01:59:03] Ban list
[01:59:03] 

[01:59:03]  Loaded 3 plugins.
[01:59:03]   Loaded.

*** Streamer Plugin v2.5.2 R2 by Incognito loaded ***

[01:59:03] 
[01:59:03]  Loading plugin: streamer.so
[01:59:03]   Loaded.

[01:59:03]  ===============================

[01:59:03]    0.3d-R2 500 Players "dnee"

[01:59:03]    © 2009 Alex "******" Cole

[01:59:03]       sscanf plugin loaded.     

[01:59:03]  ===============================

[01:59:03] 
[01:59:03]  Loading plugin: sscanf.so
[01:59:03]   Loaded.
[01:59:03]  
[01:59:03]  ==================
[01:59:03]  
[01:59:03]   Whirlpool loaded
[01:59:03]  
[01:59:03]  ==================
[01:59:03]  
[01:59:03]  Loading plugin: Whirlpool.so
[01:59:03] --------------
[01:59:03] Server Plugins
[01:59:03] 
[01:59:03] maxplayers = 50  (int)
[01:59:03] password = ""  (string)
Reply
#10

Do you have this,

pawn Код:
main()
{

}
?
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)