OnPlayerConnect Dont Work
#1

Code:
Код:
public OnPlayerConnect(playerid)
{
	SetPVarInt(playerid,"PlayerWarnings",0);
	SetPVarInt(playerid,"PlayerJail",0);
	SetPVarInt(playerid,"PlayerMute",0);
	SetPVarInt(playerid,"PlayerAdministrator",1);
	SetPVarInt(playerid,"PlayerColor",0);
	print("afsjasiasfjoi");
	return 1;
}
Console:
Quote:

[22:16:04] OnGameo
[22:16:04] Script[gamemodes/GM.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[22:16:04] Number of vehicle models: 0
[22:16:14] Incoming connection: 5.171.178.246:4309
[22:16:14] [join] Breakbouster has joined the server (0:5.171.178.246)
[22:16:16] [part] Breakbouster has left the server (0:1)

Includes:
Код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
And in console i dont see print. Why? I use new plugins, includes etc.
Reply
#2

Do you have
pawn Код:
main( ) { }
In your gamemode?
Reply
#3

No, this must be
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)