04.05.2013, 16:41
pawn Код:
if(!IsPlayerInDynamicCP(playerid, checkpoints[12])
&& !IsPlayerInDynamicCP(playerid, checkpoints[13])
&& !IsPlayerInDynamicCP(playerid, checkpoints[14])
&& !IsPlayerInDynamicCP(playerid, checkpoints[15])
&& !IsPlayerInDynamicCP(playerid, checkpoints[16])
&& !IsPlayerInDynamicCP(playerid, checkpoints[17])
&& !IsPlayerInDynamicCP(playerid, checkpoints[18])
&& !IsPlayerInDynamicCP(playerid, checkpoints[19])
&& !IsPlayerInDynamicCP(playerid, checkpoints[20])
&& !IsPlayerInDynamicCP(playerid, checkpoints[21])
&& !IsPlayerInDynamicCP(playerid, checkpoints[22])
&& !IsPlayerInDynamicCP(playerid, checkpoints[23])
&& !IsPlayerInDynamicCP(playerid, checkpoints[24])
&& !IsPlayerInDynamicCP(playerid, checkpoints[25]) && StoreRobbing[playerid] != -1) {
GameTextForPlayer(playerid, "~r~Robbery failed!~n~Failed to stay in the ~r~checkpoint", 3000, 4);
}