22.03.2015, 20:36
That's why it didn't show up anything. Some users in the past didn't have the file with extension .cfg and that was the problem so you may need to check it again.
With the old way of debugging I meant:
With the old way of debugging I meant:
PHP код:
if(checkpointid == Player[playerid][MissionBankTimerAndCP])
{
if(Player[playerid][PlayerBankRob] > 0)
{
DestroyDynamicCP(Player[playerid][MissionBankTimerAndCP]);
print("OPEDCP: Destroyed CP");
DestroyDynamic3DTextLabel(Player[playerid][MissionBank3DText]);
print("OPEDCP: Destroyed 3D Label");
TogglePlayerDynamicCP(playerid, Server[MissionBankCP], 1);
print("OPEDCP: Toggled CP");
UpdateBank(playerid, Player[playerid][PlayerBankRob]);
print("OPEDCP: Updated Bank");
Message(-1, Red, "[Bank] >> "white"!הצליח לשדוד את הבנק \"%s\" השחקן", GetName(Player[playerid][MissionBankTargetID]), GetName(playerid));
print("OPEDCP: Message Sent (1)");
Message(-1, Red, "[Bank] >> "green"$%s "white":סכום השוד", GetNum(Player[playerid][PlayerBankRob]));
print("OPEDCP: Message Sent (2)");
GivePlayerMoney(playerid, -Player[playerid][PlayerBankRob]);
print("OPEDCP: Gave Money");
Player[playerid][PlayerBankRob] = 0;
print("OPEDCP: Reset Variable");
}
}