Removed player due to error + other opcode
#1


This is the code that was executed at the time of the warnings:

pawn Код:
DMS[playerid] = 0;
DM[playerid] = 0;
DML[playerid] = 0;
format(string,sizeof(string),"%s (%i) has left the DM stadium.",ReturnPlayerName(playerid),playerid);
SendClientMessageToAllBut(playerid,COLOR_LBLUE,string);
SendClientMessage(playerid, COLOR_LBLUE, "** Left DM Stadium!");
SetPlayerArmour(playerid, 0);
DisablePlayerCheckpoint(playerid);
OnPlayerSpawn(playerid);
3 of us entered the checkpoint at the same time. No warnings if just one player uses it.
Reply
#2

You're using OnPlayerSpawn (a callback which calls when a player spawns) instead of SpawnPlayer(playerid);

Replace OnPlayerSpawn(playerid); with SpawnPlayer(playerid);
Reply
#3

OnPlayerSpawn(playerid) is intentional. I want to call that, because in there I have code for spawnpoints.

I have used it since before 0.2x and had no problems.

It works when only one player uses it.
Reply
#4

Comment out OnPlayerSpawn(playerid); and then test it.
Reply
#5

This topic is reporting that as a bug, not asking how to fix it.

I will try what you said though, and see if that is the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)